Skip to main content

Convert between Spotify, YouTube and YouTube Music URLs

This project has been archived.

The maintainers of this project have marked this project as archived. No new releases are expected.

Project description

youtubeSpotifyConverter

A library that allows you to convert between Spotify, YouTube and YouTube Music URLs (only works on songs at the moment). Includes methods for basic calls to the YouTube and Spotify APIs.

Installation

pip install youtubeSpotifyConverter

Get started

How to convert a YouTube URL into a Spotify and YouTube Music URL

from youtubeSpotifyConverter import youtubeSpotifyConverter

# Instantiate a youtubeSpotifyConverter object
converter = youtubeSpotifyConverter([YOUTUBE_API_KEY], [SPOTIFY_CLIENT_ID], [SPOTIFY_CLIENT_SECRET])

# Call the C_fromLink method
links = converter.C_fromLink("Youtube/Youtube Music or Spotify URL")

# Call the C_fromTitle method
links = converter.C_fromTitle("Song Title")

GitHub and PyPI pages

GitHub: https://github.com/FileNotFound7/youtubeSpotifyConverter PyPI: https://pypi.org/project/youtubeSpotifyConverter/ ReadTheDocs: https://youtubespotifyconverter.readthedocs.io/en/latest/

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

youtubeSpotifyConverter-0.2.0.tar.gz (4.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

youtubeSpotifyConverter-0.2.0-py3-none-any.whl (5.4 kB view details)

Uploaded Python 3

File details

Details for the file youtubeSpotifyConverter-0.2.0.tar.gz.

File metadata

  • Download URL: youtubeSpotifyConverter-0.2.0.tar.gz
  • Upload date:
  • Size: 4.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.9

File hashes

Hashes for youtubeSpotifyConverter-0.2.0.tar.gz
Algorithm Hash digest
SHA256 36c2c07680becc5cfb403c069b8b10361380c74fe4c1fde19ade2b8c5ed8b7a0
MD5 a95cebf1b4c7a32380e80ba2b37e970c
BLAKE2b-256 d2f92d64b82caf33af6cf96a942b6c78a2619eaecc94a823561b671b693b8bc2

See more details on using hashes here.

File details

Details for the file youtubeSpotifyConverter-0.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for youtubeSpotifyConverter-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 24a308ad72d640e5cddefac6b22c54c0659d8badc4a5806a80833ab51569f8fd
MD5 c09dbe9716360fe2585392325d6fa1bd
BLAKE2b-256 90cca5b51e8873b58166222f4bd98c7035daeb485c4ba2d58deb399a0aa82a7a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page