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/

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.1.3.tar.gz (4.8 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.1.3-py3-none-any.whl (5.2 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for youtubeSpotifyConverter-0.1.3.tar.gz
Algorithm Hash digest
SHA256 9331ddc6bd502f42a12dd66a365122a83393b9c3837280ab22e0d6eac10492e2
MD5 28285b87c0fdfbb1f590e5b794e54156
BLAKE2b-256 12cc938bbf2dc98509c524852559909d7d687af0b0c68f242b437d88ae4783b9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for youtubeSpotifyConverter-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 6da2f4adc8225fb539e314e0f1956129ab16105136c01a9143a13d751d964bfb
MD5 4d0993311c7c219220d20aa3eea9819f
BLAKE2b-256 18550a9ada4d405b4289c72436a296ac134d45d620f9bf773263027e715faac1

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