Skip to content

Commit

Permalink
Implement remaining user-identity-related Discogs API endpoints
Browse files Browse the repository at this point in the history
  • Loading branch information
bbye98 committed Dec 27, 2023
1 parent ce8db96 commit e50a59a
Show file tree
Hide file tree
Showing 12 changed files with 1,090 additions and 95 deletions.
Binary file modified docs/.doctrees/api/minim.discogs.API.doctree
Binary file not shown.
Binary file modified docs/.doctrees/environment.pickle
Binary file not shown.
Binary file modified docs/.doctrees/notebooks/getting_started.doctree
Binary file not shown.
Binary file not shown.
Binary file not shown.
385 changes: 364 additions & 21 deletions docs/_modules/minim/discogs.html

Large diffs are not rendered by default.

347 changes: 328 additions & 19 deletions docs/api/minim.discogs.API.html

Large diffs are not rendered by default.

52 changes: 26 additions & 26 deletions docs/notebooks/getting_started.html
Original file line number Diff line number Diff line change
Expand Up @@ -568,7 +568,7 @@ <h6>Spotify Web API<a class="headerlink" href="#spotify-web-api" title="Link to
</summary>
<div class="cell_output docutils container">
<div class="output text_plain highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>{&#39;external_urls&#39;: {&#39;spotify&#39;: &#39;https://open.spotify.com/artist/4sTQVOfp9vEMCemLw50sbu&#39;},
&#39;followers&#39;: {&#39;href&#39;: None, &#39;total&#39;: 3360776},
&#39;followers&#39;: {&#39;href&#39;: None, &#39;total&#39;: 3360524},
&#39;genres&#39;: [&#39;dance pop&#39;, &#39;edm&#39;, &#39;pop&#39;, &#39;pop dance&#39;],
&#39;href&#39;: &#39;https://api.spotify.com/v1/artists/4sTQVOfp9vEMCemLw50sbu&#39;,
&#39;id&#39;: &#39;4sTQVOfp9vEMCemLw50sbu&#39;,
Expand Down Expand Up @@ -1368,19 +1368,19 @@ <h6>Private Qobuz API<a class="headerlink" href="#id6" title="Link to this headi
&#39;images&#39;: [&#39;https://static.qobuz.com/images/covers/fc/7v/ilfmuz10e7vfc_50.jpg&#39;],
&#39;is_collaborative&#39;: False,
&#39;description&#39;: &#39;A playlist created using Minim.&#39;,
&#39;created_at&#39;: 1703640810,
&#39;created_at&#39;: 1703712390,
&#39;images300&#39;: [&#39;https://static.qobuz.com/images/covers/fc/7v/ilfmuz10e7vfc_300.jpg&#39;],
&#39;duration&#39;: 127,
&#39;updated_at&#39;: 1703640811,
&#39;updated_at&#39;: 1703712390,
&#39;published_to&#39;: None,
&#39;genres&#39;: [],
&#39;tracks_count&#39;: 1,
&#39;public_at&#39;: 1703640810,
&#39;public_at&#39;: 1703712390,
&#39;name&#39;: &#39;Minim&#39;,
&#39;is_public&#39;: True,
&#39;published_from&#39;: None,
&#39;id&#39;: 18814014,
&#39;slug&#39;: &#39;minim-12&#39;,
&#39;id&#39;: 18831593,
&#39;slug&#39;: &#39;minim-14&#39;,
&#39;is_featured&#39;: False,
&#39;tracks&#39;: {&#39;offset&#39;: 0,
&#39;limit&#39;: 50,
Expand Down Expand Up @@ -1464,8 +1464,8 @@ <h6>Private Qobuz API<a class="headerlink" href="#id6" title="Link to this headi
&#39;hires&#39;: False,
&#39;hires_streamable&#39;: False,
&#39;position&#39;: 1,
&#39;created_at&#39;: 1703640811,
&#39;playlist_track_id&#39;: 4067006648}]}}
&#39;created_at&#39;: 1703712390,
&#39;playlist_track_id&#39;: 4074552535}]}}
</pre></div>
</div>
</div>
Expand Down Expand Up @@ -1505,28 +1505,28 @@ <h6>Spotify Web API<a class="headerlink" href="#id7" title="Link to this heading
</summary>
<div class="cell_output docutils container">
<div class="output text_plain highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>{&#39;collaborative&#39;: False,
&#39;external_urls&#39;: {&#39;spotify&#39;: &#39;https://open.spotify.com/playlist/1bS3bkYqI6G6qbvJ4SKPkC&#39;},
&#39;external_urls&#39;: {&#39;spotify&#39;: &#39;https://open.spotify.com/playlist/2nIJcg6e6zE8QV7AeckwNz&#39;},
&#39;followers&#39;: {&#39;href&#39;: None, &#39;total&#39;: 0},
&#39;href&#39;: &#39;https://api.spotify.com/v1/playlists/1bS3bkYqI6G6qbvJ4SKPkC&#39;,
&#39;id&#39;: &#39;1bS3bkYqI6G6qbvJ4SKPkC&#39;,
&#39;href&#39;: &#39;https://api.spotify.com/v1/playlists/2nIJcg6e6zE8QV7AeckwNz&#39;,
&#39;id&#39;: &#39;2nIJcg6e6zE8QV7AeckwNz&#39;,
&#39;images&#39;: [{&#39;url&#39;: &#39;https://i.scdn.co/image/ab67616d00001e024a6c0376235e5aa44e59d2c2&#39;,
&#39;height&#39;: None,
&#39;width&#39;: None}],
&#39;primary_color&#39;: None,
&#39;name&#39;: &#39;Minim&#39;,
&#39;description&#39;: &#39;&#39;,
&#39;description&#39;: &#39;A playlist created using Minim.&#39;,
&#39;type&#39;: &#39;playlist&#39;,
&#39;uri&#39;: &#39;spotify:playlist:1bS3bkYqI6G6qbvJ4SKPkC&#39;,
&#39;uri&#39;: &#39;spotify:playlist:2nIJcg6e6zE8QV7AeckwNz&#39;,
&#39;owner&#39;: None,
&#39;public&#39;: True,
&#39;snapshot_id&#39;: &#39;MSwxNmNmY2U5OGY4ODk4NmRiMzlhMDA0NzBjNzc4M2RhNjU2NmM3MGVm&#39;,
&#39;snapshot_id&#39;: &#39;Miw4OTE4M2FkYzNlZjlhMDJhYWViNWNkMzUxYzAwYmMwYjU2MGQ1Y2Zl&#39;,
&#39;tracks&#39;: {&#39;limit&#39;: 100,
&#39;next&#39;: None,
&#39;offset&#39;: 0,
&#39;previous&#39;: None,
&#39;href&#39;: &#39;https://api.spotify.com/v1/playlists/1bS3bkYqI6G6qbvJ4SKPkC/tracks?offset=0&amp;limit=100&#39;,
&#39;href&#39;: &#39;https://api.spotify.com/v1/playlists/2nIJcg6e6zE8QV7AeckwNz/tracks?offset=0&amp;limit=100&#39;,
&#39;total&#39;: 1,
&#39;items&#39;: [{&#39;added_at&#39;: &#39;2023-12-27T01:33:32Z&#39;,
&#39;items&#39;: [{&#39;added_at&#39;: &#39;2023-12-27T21:26:32Z&#39;,
&#39;primary_color&#39;: None,
&#39;video_thumbnail&#39;: {&#39;url&#39;: None},
&#39;is_local&#39;: False,
Expand Down Expand Up @@ -1969,7 +1969,7 @@ <h6>Private TIDAL API<a class="headerlink" href="#id8" title="Link to this headi
<span class="expanded">Hide code cell output</span>
</summary>
<div class="cell_output docutils container">
<div class="output text_plain highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>{&#39;playlist&#39;: {&#39;uuid&#39;: &#39;e02223ff-d067-41b2-aa44-ea5bd0bb14d1&#39;,
<div class="output text_plain highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>{&#39;playlist&#39;: {&#39;uuid&#39;: &#39;c133107f-bf42-4fa0-8f7f-48b2fee31ec2&#39;,
&#39;type&#39;: &#39;USER&#39;,
&#39;creator&#39;: None,
&#39;contentBehavior&#39;: &#39;UNRESTRICTED&#39;,
Expand All @@ -1978,19 +1978,19 @@ <h6>Private TIDAL API<a class="headerlink" href="#id8" title="Link to this headi
&#39;source&#39;: &#39;DEFAULT&#39;,
&#39;title&#39;: &#39;Minim&#39;,
&#39;description&#39;: &#39;A playlist created using Minim.&#39;,
&#39;image&#39;: &#39;dc385d5b-dc19-4257-a1a8-8f3e5d7fa050&#39;,
&#39;squareImage&#39;: &#39;42b6e4c7-92d7-45a2-80f7-3199018785bd&#39;,
&#39;url&#39;: &#39;http://www.tidal.com/playlist/e02223ff-d067-41b2-aa44-ea5bd0bb14d1&#39;,
&#39;created&#39;: &#39;2023-12-27T01:33:33.157+0000&#39;,
&#39;lastUpdated&#39;: &#39;2023-12-27T01:33:33.318+0000&#39;,
&#39;lastItemAddedAt&#39;: &#39;2023-12-27T01:33:33.318+0000&#39;,
&#39;image&#39;: &#39;33dc107d-321e-4127-a0ed-9ed7723d1d60&#39;,
&#39;squareImage&#39;: &#39;f1293b2d-b657-40af-8961-0865891ac3cb&#39;,
&#39;url&#39;: &#39;http://www.tidal.com/playlist/c133107f-bf42-4fa0-8f7f-48b2fee31ec2&#39;,
&#39;created&#39;: &#39;2023-12-27T21:26:32.986+0000&#39;,
&#39;lastUpdated&#39;: &#39;2023-12-27T21:26:33.147+0000&#39;,
&#39;lastItemAddedAt&#39;: &#39;2023-12-27T21:26:33.147+0000&#39;,
&#39;duration&#39;: 177,
&#39;numberOfTracks&#39;: 1,
&#39;numberOfVideos&#39;: 0,
&#39;promotedArtists&#39;: [],
&#39;trn&#39;: &#39;trn:playlist:e02223ff-d067-41b2-aa44-ea5bd0bb14d1&#39;},
&#39;trn&#39;: &#39;trn:playlist:c133107f-bf42-4fa0-8f7f-48b2fee31ec2&#39;},
&#39;followInfo&#39;: {&#39;nrOfFollowers&#39;: 0,
&#39;tidalResourceName&#39;: &#39;trn:playlist:e02223ff-d067-41b2-aa44-ea5bd0bb14d1&#39;,
&#39;tidalResourceName&#39;: &#39;trn:playlist:c133107f-bf42-4fa0-8f7f-48b2fee31ec2&#39;,
&#39;followed&#39;: True,
&#39;followType&#39;: &#39;PLAYLIST&#39;},
&#39;profile&#39;: None}
Expand Down Expand Up @@ -2094,7 +2094,7 @@ <h5>Converting between audio formats<a class="headerlink" href="#converting-betw
</summary>
<div class="cell_output docutils container">
<div class="output stderr highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>size= 0kB time=N/A bitrate=N/A speed=N/A
size= 116kB time=00:00:00.92 bitrate=1023.4kbits/s speed=82.3x
size= 116kB time=00:00:00.92 bitrate=1023.4kbits/s speed= 70x
</pre></div>
</div>
</div>
Expand Down
8 changes: 4 additions & 4 deletions docs/notebooks/user_guide/editing_audio_metadata.html
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@ <h2>Converting and tagging an audio file with no metadata<a class="headerlink" h
</div>
</div>
<div class="cell_output docutils container">
<div class="output text_plain highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>(&#39;spektrem_shine.flac&#39;, &lt;minim.audio.FLACAudio at 0x7f4b180a9cd0&gt;)
<div class="output text_plain highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>(&#39;spektrem_shine.flac&#39;, &lt;minim.audio.FLACAudio at 0x7fa4c8389e50&gt;)
</pre></div>
</div>
</div>
Expand Down Expand Up @@ -375,10 +375,10 @@ <h2>Converting and tagging an audio file with no metadata<a class="headerlink" h
<div class="output stderr highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>size= 0kB time=00:00:00.00 bitrate=1898.7kbits/s speed=0.566x
</pre></div>
</div>
<div class="output stderr highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>size= 1032kB time=00:00:30.06 bitrate= 281.1kbits/s speed=59.9x
<div class="output stderr highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>size= 1032kB time=00:00:30.06 bitrate= 281.1kbits/s speed=62.1x
</pre></div>
</div>
<div class="output text_plain highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>&lt;minim.audio.MP3Audio at 0x7f4b180a9cd0&gt;
<div class="output text_plain highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>&lt;minim.audio.MP3Audio at 0x7fa4c8389e50&gt;
</pre></div>
</div>
</div>
Expand Down Expand Up @@ -627,7 +627,7 @@ <h2>Tagging an audio file with existing metadata<a class="headerlink" href="#tag
</div>
</div>
<div class="cell_output docutils container">
<div class="output text_plain highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>(&#39;tobu_back_to_you.flac&#39;, &lt;minim.audio.FLACAudio at 0x7f4ab6deacd0&gt;)
<div class="output text_plain highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>(&#39;tobu_back_to_you.flac&#39;, &lt;minim.audio.FLACAudio at 0x7fa4c8433ed0&gt;)
</pre></div>
</div>
</div>
Expand Down
6 changes: 3 additions & 3 deletions docs/notebooks/user_guide/getting_recommendations.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/searchindex.js

Large diffs are not rendered by default.

Loading

0 comments on commit e50a59a

Please sign in to comment.