Skip to main content

Downloads

Track Retriever

Built to make it easier for people to work with the tracks in their Spotify playlists

Prerequisites

I assume that you have already made a Spotify project, if not you can do that here

You'll need your: username, client_id, client_secret, redirect_uri and userId 

Installing

pip install trackRetriever

Functions

I made getPlaylistIds and get_playlist_tracks as helpers for getTracks but you are more than welcome to use them

getTracks(username, client_id, client_secret,redirect_uri,getNames = False)

All the parameters should be input as string except getNames
When getNames is set to True getTracks will return a list of the names of the tracks in your playlists
When getNames is set to False getTracks will return a list of the track id's of the tracks in your playlists 
getPlaylistIds(playlists)

This will get the playlist id's of your playlists 
playlists = sp.user_playlists(userId) *userId is not your username* 
get_playlist_tracks(userId, playlist_id,sp)

sp is the spotify object created by spotipy.Spotify(auth=token)
playlist_id is the id of the playlist you want to retrieve the tracks for 

Metadata

Release files for trackRetriever 1.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for trackRetriever 1.0.1
File Size Uploaded Provenance Actions
trackRetriever-1.0.1.tar.gz 2.7 kB Without provenance Details for trackRetriever-1.0.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for trackRetriever 1.0.1
File Interpreter ABI Platform Actions
trackRetriever-1.0.1-py3-none-any.whl Python 3 none any Details for trackRetriever-1.0.1-py3-none-any.whl

Total release size: 6.3 kB

Release files / trackRetriever-1.0.1.tar.gz

Download URL trackRetriever-1.0.1.tar.gz
Size 2.7 kB
Tags Source
SHA-256 checksum
How to use checksums
c0eacee2f6514de8d533d0ad572c5ad3f33365ba8b4c8e3d48527d2a6a9fe433
BLAKE2b-256 checksum
How to use checksums
dab3b971ad250b4d269a807b4cac2443c05e3511a22b1b91289f636211621d0d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.20.1 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.5

Release files / trackRetriever-1.0.1-py3-none-any.whl

Download URL trackRetriever-1.0.1-py3-none-any.whl
Size 3.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5d270e8fda751156109346818bbbe5aef824a116e63cf8dbf7790664722b3229
BLAKE2b-256 checksum
How to use checksums
9402991ce51049295e03807f74bfece9720bc06b2ef155729b02ec39224b011f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.20.1 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.5

Security for trackRetriever 1.0.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.0.1 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page