Skip to content

Commit d319c6e

Browse files
Move examples to spotipy-dev/spotipy-examples, add as submodule
1 parent e37b1a8 commit d319c6e

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

67 files changed

+8
-1704
lines changed

.gitmodules

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[submodule "examples"]
2+
path = examples
3+
url = git@github.com:spotipy-dev/spotipy-examples.git

FAQ.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ spotipy can only return fields documented on the Spotify web API https://develop
66

77
### How to use spotipy in an API?
88

9-
Check out [this example Flask app](examples/app.py)
9+
Check out [this example Flask app](https://github.com/spotipy-dev/spotipy-examples/tree/main/apps/flask_api)
1010

1111
### How can I store tokens in a database rather than on the filesystem?
1212

@@ -51,7 +51,7 @@ must be specified: `search("abba", market="DE")`.
5151
If you cannot open a browser, set `open_browser=False` when instantiating SpotifyOAuth or SpotifyPKCE. You will be
5252
prompted to open the authorization URI manually.
5353

54-
See the [headless auth example](examples/headless.py).
54+
See the [headless auth example](https://github.com/spotipy-dev/spotipy-examples/blob/main/scripts/headless.py).
5555

5656
### My application is not responding
5757

docs/index.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -254,8 +254,8 @@ artist's name::
254254
artist = items[0]
255255
print(artist['name'], artist['images'][0]['url'])
256256

257-
There are many more examples of how to use *Spotipy* in the `Examples
258-
Directory <https://github.com/plamere/spotipy/tree/master/examples>`_ on GitHub.
257+
There are many more examples of how to use *Spotipy* in the `spotipy-examples
258+
repository <https://github.com/spotipy-dev/spotipy-examples>`_ on GitHub.
259259

260260
API Reference
261261
==============

examples

Submodule examples added at c610a79

examples/add_a_saved_album.py

Lines changed: 0 additions & 27 deletions
This file was deleted.

examples/add_a_saved_track.py

Lines changed: 0 additions & 29 deletions
This file was deleted.

examples/add_saved_episodes.py

Lines changed: 0 additions & 29 deletions
This file was deleted.

examples/add_saved_shows.py

Lines changed: 0 additions & 29 deletions
This file was deleted.

examples/add_tracks_to_playlist.py

Lines changed: 0 additions & 29 deletions
This file was deleted.

examples/app.py

Lines changed: 0 additions & 115 deletions
This file was deleted.

0 commit comments

Comments
 (0)