<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Goofy: JavaScript library for Spotify API in Spotify for Developers</title>
    <link>https://community.spotify.com/t5/Spotify-for-Developers/Goofy-JavaScript-library-for-Spotify-API/m-p/5281480#M3461</link>
    <description>&lt;BLOCKQUOTE&gt;Big thanks to the developer!&lt;/BLOCKQUOTE&gt;&lt;P&gt;There is also a &lt;A href="https://ko-fi.com/chimildic" target="_blank" rel="noopener"&gt;good way&lt;/A&gt; to say thank you, at your discretion&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 22 Oct 2021 10:04:02 GMT</pubDate>
    <dc:creator>Onewave</dc:creator>
    <dc:date>2021-10-22T10:04:02Z</dc:date>
    <item>
      <title>Goofy: JavaScript library for Spotify API</title>
      <link>https://community.spotify.com/t5/Spotify-for-Developers/Goofy-JavaScript-library-for-Spotify-API/m-p/5266068#M3303</link>
      <description>&lt;P&gt;&lt;A href="https://github.com/Chimildic/goofy" target="_blank" rel="noopener"&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="goofy.png" style="width: 354px;"&gt;&lt;img src="https://community.spotify.com/t5/image/serverpage/image-id/133410i63BDDD6D47B07655/image-size/large?v=v2&amp;amp;px=999" role="button" title="goofy.png" alt="goofy.png" /&gt;&lt;/span&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;OK, maybe it's time to share it here.&lt;/P&gt;&lt;P&gt;Goofy is a very useful tool for advanced users.&lt;/P&gt;&lt;P&gt;In some ways it repeats &lt;A href="http://smarterplaylists.playlistmachinery.com/" target="_blank" rel="noopener"&gt;Smarter Playlists&lt;/A&gt;, but is more fun, because it lets you write your own stuff.&lt;/P&gt;&lt;P&gt;&lt;A href="https://chimildic.github.io/goofy/" target="_blank" rel="noopener"&gt;Documentation&lt;/A&gt; is in Russian, so you have to use Chrome &lt;A href="https://chrome.google.com/webstore/detail/google-translate/aapbdbdomjkkjkaonfhkkikfgjllcleb" target="_blank" rel="noopener"&gt;extension&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;Discussions are &lt;A href="https://github.com/Chimildic/goofy/discussions" target="_blank" rel="noopener"&gt;here&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&lt;A href="https://chimildic.github.io/goofy/#/install" target="_blank" rel="noopener"&gt;Installation&lt;/A&gt; is through Apps Script, it is safe and secured by Google.&lt;/P&gt;&lt;P&gt;A simple example of code, so you can understand, is it for you or not. If you know JavaScript the possibilities are almost endless. Beginners can copy-paste code and put their playlists IDs. Happy scripting ‌&lt;span class="lia-unicode-emoji" title=":smiling_face_with_sunglasses:"&gt;😎&lt;/span&gt;‌&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;function createFirstPlaylist() {
 // 1 - collect playlists
 let mixTracks = Source.getTracks([
     { name: 'Daily Mix 1', id: 'playlistId' },
     { name: 'Daily Mix 2', id: 'playlistId' },
 ]);
 let recomTracks = Source.craftTracks(mixTracks);
 let savedTracks = Source.getSavedTracks();   

 // 2 - processing
 Combiner.push(mixTracks, recomTracks);   
 Filter.removeTracks(mixTracks, savedTracks);
 Selector.keepRandom(mixTracks, 20);
 
 // 3 - create new playlist
 Playlist.saveWithReplace({
     // id: 'newPlaylistId',
     name: 'My first auto playlist',
     tracks: mixTracks,
     randomCover: 'update',
 });
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 26 Sep 2021 12:56:46 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Spotify-for-Developers/Goofy-JavaScript-library-for-Spotify-API/m-p/5266068#M3303</guid>
      <dc:creator>Onewave</dc:creator>
      <dc:date>2021-09-26T12:56:46Z</dc:date>
    </item>
    <item>
      <title>Re: Goofy: JavaScript library for Spotify API</title>
      <link>https://community.spotify.com/t5/Spotify-for-Developers/Goofy-JavaScript-library-for-Spotify-API/m-p/5280414#M3439</link>
      <description>&lt;P&gt;This is a great programme. It would be great if somewhere down the line some of the instructions could be translated officially because it takes a little while to understand but other than that it's a great programme.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I think it's time for me to properly learn javascript!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks to the developer &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Oct 2021 15:40:09 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Spotify-for-Developers/Goofy-JavaScript-library-for-Spotify-API/m-p/5280414#M3439</guid>
      <dc:creator>hywelinesh</dc:creator>
      <dc:date>2021-10-20T15:40:09Z</dc:date>
    </item>
    <item>
      <title>Re: Goofy: JavaScript library for Spotify API</title>
      <link>https://community.spotify.com/t5/Spotify-for-Developers/Goofy-JavaScript-library-for-Spotify-API/m-p/5281103#M3452</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://community.spotify.com/t5/user/viewprofilepage/user-id/16232721"&gt;@hywelinesh&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;&lt;P&gt;It would be great if somewhere down the line some of the instructions could be translated officially&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;A href="https://chrome.google.com/webstore/detail/google-translate/aapbdbdomjkkjkaonfhkkikfgjllcleb" target="_blank" rel="noopener"&gt;Google&lt;/A&gt; is doing pretty good job with the translation. But if you have additional questions, you can always ask &lt;A href="https://github.com/Chimildic/goofy/discussions/categories/%D0%B1%D0%B5%D1%81%D0%B5%D0%B4%D0%BA%D0%B0" target="_blank" rel="noopener"&gt;here&lt;/A&gt;. Developer is very responsive.&lt;/P&gt;</description>
      <pubDate>Thu, 21 Oct 2021 16:41:47 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Spotify-for-Developers/Goofy-JavaScript-library-for-Spotify-API/m-p/5281103#M3452</guid>
      <dc:creator>Onewave</dc:creator>
      <dc:date>2021-10-21T16:41:47Z</dc:date>
    </item>
    <item>
      <title>Re: Goofy: JavaScript library for Spotify API</title>
      <link>https://community.spotify.com/t5/Spotify-for-Developers/Goofy-JavaScript-library-for-Spotify-API/m-p/5281466#M3459</link>
      <description>&lt;P&gt;Didn't realise there was an English discussion section. Big thanks to the developer! &lt;span class="lia-unicode-emoji" title=":clapping_hands:"&gt;👏&lt;/span&gt;&lt;span class="lia-unicode-emoji" title=":clapping_hands:"&gt;👏&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Oct 2021 09:02:55 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Spotify-for-Developers/Goofy-JavaScript-library-for-Spotify-API/m-p/5281466#M3459</guid>
      <dc:creator>hywelinesh</dc:creator>
      <dc:date>2021-10-22T09:02:55Z</dc:date>
    </item>
    <item>
      <title>Re: Goofy: JavaScript library for Spotify API</title>
      <link>https://community.spotify.com/t5/Spotify-for-Developers/Goofy-JavaScript-library-for-Spotify-API/m-p/5281480#M3461</link>
      <description>&lt;BLOCKQUOTE&gt;Big thanks to the developer!&lt;/BLOCKQUOTE&gt;&lt;P&gt;There is also a &lt;A href="https://ko-fi.com/chimildic" target="_blank" rel="noopener"&gt;good way&lt;/A&gt; to say thank you, at your discretion&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Oct 2021 10:04:02 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Spotify-for-Developers/Goofy-JavaScript-library-for-Spotify-API/m-p/5281480#M3461</guid>
      <dc:creator>Onewave</dc:creator>
      <dc:date>2021-10-22T10:04:02Z</dc:date>
    </item>
    <item>
      <title>Re: Goofy: JavaScript library for Spotify API</title>
      <link>https://community.spotify.com/t5/Spotify-for-Developers/Goofy-JavaScript-library-for-Spotify-API/m-p/5281641#M3467</link>
      <description>Thanks for letting me know &lt;span class="lia-unicode-emoji" title=":smiling_face_with_smiling_eyes:"&gt;😊&lt;/span&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 22 Oct 2021 12:37:45 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Spotify-for-Developers/Goofy-JavaScript-library-for-Spotify-API/m-p/5281641#M3467</guid>
      <dc:creator>hywelinesh</dc:creator>
      <dc:date>2021-10-22T12:37:45Z</dc:date>
    </item>
  </channel>
</rss>

