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")

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.0.tar.gz (4.2 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.0-py3-none-any.whl (4.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: youtubeSpotifyConverter-0.1.0.tar.gz
  • Upload date:
  • Size: 4.2 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.0.tar.gz
Algorithm Hash digest
SHA256 03019f998c664c621d59db8d5019c7a4994a02b5f0166ed135bec1a4a8203df1
MD5 6b781cf930088e873b9e02451ba0ea50
BLAKE2b-256 16188192ff0ab62a3e9cb42fa4eba1d715166b491aa7a3c26c4d6ffa6979ba20

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for youtubeSpotifyConverter-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6cb6f3e4dee9657868eda3332ea74a7877e9992e745dce90c9c7452fbd90c84c
MD5 b12c74fae7ce2ea0ad28a7774566deae
BLAKE2b-256 a89a34f0b27ced3f09627cd1aad2c5c6efd2c823bc6ef837d4e7883950efd789

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