sp_yt_search
Parse Spotify URI to Youtube link
Installation
Just use (No other package is needed):
$ pip install sp_yt_search
Example Usage
from sp_yt_search import SpYt
if __name__ == '__main__':
# Setup credentials
client_id = 'spotify_api_client_id'
secret = 'spotify_api_secret'
# Provide Spotify URI
uri = 'spotify:track:4uLU6hMCjMI75M1A2tKUQC'
sp = SpYt() # Initialize SpYt object
sp.set_credentials(client_id, secret) # Auth Spotify
sp.sp_search(uri) # Search for URI
print(sp.get_data()) # Prints found spotify objects
sp.yt_search() # Perform YT search for found Spotify objects
print(sp.get_data()) # Prints spotify objects with YouTube related results
Availible URIs
Package can be used for fetching:
Track:
spotify:track:{ID}Playlist:
spotify:playlist:{ID}Album:
spotify:album:{ID}Artist:
spotify:artist:{id}}
See me on github
License MIT
Free Software, Hell Yeah!
Metadata
Release files for sp-yt-search 1.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| sp_yt_search-1.1.2.tar.gz | 7.7 kB | Without provenance | Details for sp_yt_search-1.1.2.tar.gz |
Release files / sp_yt_search-1.1.2.tar.gz
| Download URL | sp_yt_search-1.1.2.tar.gz |
|---|---|
| Size | 7.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
943a0589ff3f30f231ec4bec38e7cbb8cdc8969915a2a920a3293c4a4340ccbe
|
|
BLAKE2b-256 checksum How to use checksums |
d2caa7e4c8dc62356a081c83ea7b53e3be2bc78d3b6bd4d733b2afdb9b627667
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.1 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.5
|
Security for sp-yt-search 1.1.2
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.