Built using Python, FastAPI, hosted on Render.com
MelodySyncer, or MeSo for short, is a Simple-to-use Web API to convert Spotify songs or playlists to their Youtube equivalent. Most Accurate since I have developed an unique scoring system that minimizes searching credits and maximises accuracy by factoring in Artist Name, Song Length, Album Name, Channel Source, etc. Takes only 0.2 seconds per song!
You get: Skip manual searching, Directly get a List, Peace of Mind
I get (hopefully): Star, Heart, Follow :)
Requirements: gh, pip, python 3.12+
Run the following commands:
gh repo clone aryankeluskar/MelodySyncer
pip install -r requirements.txt
Also add the required details in .env
uvicorn src.index:app --reload
Open your broswer at http://localhost:8000
Visit MelodySyncer.vercel.app to access this API
Visit detailed API documentation here generated with OpenAPI.json
Example: https://MelodySyncer.vercel.app/playlist?query=7fITt66rmO4QIeNs2LPRDj&youtubeAPIKEY=default responds with a List of YouTube Links which can be processed with HttpRequest in Java, or requests.get in Python. This data can be stored in an Array or List for further processing.
Parameters: None
Response: (string) Displays the valid paths available, and frontend in the future
Parameters: query (string) ID of the song in Spotify, youtubeAPIKEY (string) Google Cloud API Key with YouTube Data v3 enabled.
Response: (string) Accurate Youtube ID of the song, neglecting any remix, cover, and music videos
Parameters: query (string) ID of the song in Spotify, youtubeAPIKEY (string) Google Cloud API Key with YouTube Data v3 enabled.
Response: (list of str) List / Array of Strings, each element contains the Youtube URL for the song. The indices remain same from Spotify Playlist