The Query Builder is a graphical Interface that can be used to simplify the Access to the REST-API described below. It is accessible to any logged in User directly on the Main Page https://toolsforspotify.nailuj.net.
A query consists out of three parts:
https://toolsforspotify.nailuj.net/:action/:destination/:playlist
The Destination type defines the data-type an action should return.
Destinations supported by all actions:
json
csv
spotify
:spotify
:charts
:
There are three types of arguments you can supply to the playlist part of a query.
These are:
recent
:saved
::playlist
:
Uses the Spotify Playlist with the said ID or URI. (e.g. 37i9dQZF1DWUKPeBypcpcP
or
spotify:playlist:37i9dQZF1DWUKPeBypcpcP
)There are two ways to provide authentication:
token
.Collects the songs from the supplied playlist and depending on the destination type creates a new playlist or returns them in a file format.
Analyzes the tracks on specific audio features like dancability, tempo, mode or acousticness and returns them in the requested format.
Generates recommendations based on the supplied playlist. The amount of recommendations to generate is controlled
by the query parameter amount
.
The amount defaults to 50 and the maximum amount of recommendations to generate is 1000.
token
Used to authenticate without cookies. For more Information see Token.
limit
Used to define the maximum amount of retrieved tracks.
Default: 50
Max: 2500
reverse
Reverses the track order.
Default: false
shuffle
Shuffles your supplied playlist before further processing.
Default: false
unique
Removes duplicates.
Note: Can reduce a playlists length significantly when used with the Generate action on outputs amounts higher than
100 songs.
Default: false
We don't store any data or logs about the logged in user or the processed data on the servers side. All authentication and identification data is stored inside your browser and is sent over an encrypted SSL Connection on each request you make to the Server.
Name | Expires | Purpose |
---|---|---|
access_token | 30 minutes | The token used to access the Spotify API in your name. |
refresh_token | 1 year | The token used to refresh the temporary access token. |
user_id | 1 year | Your Spotify User ID, used to add songs to your playlists if you requested to do so. |
user_name | 1 year | Your name as stored on spotify, so I can display the greeting message on the main page. |
theme | 999 days | Your theme selection for this app. |
To delete all data that has been stored, simply delete your cookies and cache for this page.
If you have any further concerns feel free to take a look at the sourcecode of this App on https://github.com/nailujx86/toolsforspotify or send me a mail at [email protected].
Go back