mirror of
https://github.com/c0de-archive/spotipy.git
synced 2025-01-07 23:22:49 +00:00
Fixed up TOC levels
This commit is contained in:
parent
3e552d90df
commit
5394deed31
@ -83,7 +83,7 @@ Getting Started
|
|||||||
===============
|
===============
|
||||||
|
|
||||||
Non-Authorized requests
|
Non-Authorized requests
|
||||||
-----------------------
|
~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
For methods that do not require authorization, simply create a Spotify object
|
For methods that do not require authorization, simply create a Spotify object
|
||||||
and start making method calls like so::
|
and start making method calls like so::
|
||||||
|
|
||||||
@ -93,7 +93,7 @@ and start making method calls like so::
|
|||||||
print results
|
print results
|
||||||
|
|
||||||
Authorized requests
|
Authorized requests
|
||||||
-------------------
|
~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
Many methods require user authentication. For these requests you will need to
|
Many methods require user authentication. For these requests you will need to
|
||||||
generate an authorization token that indicates that the user has granted
|
generate an authorization token that indicates that the user has granted
|
||||||
permission for your application to perform the given task. You will need to
|
permission for your application to perform the given task. You will need to
|
||||||
@ -146,7 +146,7 @@ Here's an example of getting user authorization to read a user's saved tracks::
|
|||||||
print "Can't get token for", username
|
print "Can't get token for", username
|
||||||
|
|
||||||
IDs URIs and URLs
|
IDs URIs and URLs
|
||||||
-----------------
|
~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
*Spotipy* supports a number of different ID types:
|
*Spotipy* supports a number of different ID types:
|
||||||
|
|
||||||
- Spotify URI - The resource identifier that you can enter, for example, in
|
- Spotify URI - The resource identifier that you can enter, for example, in
|
||||||
@ -163,7 +163,7 @@ In general, any *Spotipy* method that needs an artist, album, track or playlist
|
|||||||
will accept ids in any of the above form
|
will accept ids in any of the above form
|
||||||
|
|
||||||
Examples
|
Examples
|
||||||
--------
|
========
|
||||||
Here are a few more examples of using *Spotipy*.
|
Here are a few more examples of using *Spotipy*.
|
||||||
|
|
||||||
Add tracks to a playlist::
|
Add tracks to a playlist::
|
||||||
@ -239,7 +239,7 @@ Shows the contents of every playlist owned by a user::
|
|||||||
|
|
||||||
|
|
||||||
More Examples
|
More Examples
|
||||||
-------------
|
~~~~~~~~~~~~~
|
||||||
There are many more examples of how to use *Spotipy* in the `Examples
|
There are many more examples of how to use *Spotipy* in the `Examples
|
||||||
Directory <https://github.com/plamere/spotipy/tree/master/examples>`_ on Github
|
Directory <https://github.com/plamere/spotipy/tree/master/examples>`_ on Github
|
||||||
|
|
||||||
@ -247,7 +247,7 @@ API Reference
|
|||||||
==============
|
==============
|
||||||
|
|
||||||
:mod:`client` Module
|
:mod:`client` Module
|
||||||
--------------------
|
~~~~~~~~~~~~~~~~~~~~
|
||||||
|
|
||||||
.. automodule:: spotipy.client
|
.. automodule:: spotipy.client
|
||||||
:members:
|
:members:
|
||||||
@ -255,7 +255,7 @@ API Reference
|
|||||||
:show-inheritance:
|
:show-inheritance:
|
||||||
|
|
||||||
:mod:`oauth2` Module
|
:mod:`oauth2` Module
|
||||||
--------------------
|
~~~~~~~~~~~~~~~~~~~~
|
||||||
|
|
||||||
.. automodule:: spotipy.oauth2
|
.. automodule:: spotipy.oauth2
|
||||||
:members:
|
:members:
|
||||||
@ -263,7 +263,7 @@ API Reference
|
|||||||
:show-inheritance:
|
:show-inheritance:
|
||||||
|
|
||||||
:mod:`util` Module
|
:mod:`util` Module
|
||||||
------------------
|
--------------------
|
||||||
|
|
||||||
.. automodule:: spotipy.util
|
.. automodule:: spotipy.util
|
||||||
:members:
|
:members:
|
||||||
|
Loading…
Reference in New Issue
Block a user