Skip to content

An unofficial API for JioSaavn written in Python 3 using FastAPI.

License

Notifications You must be signed in to change notification settings

vidyasagar1432/jiosaavn-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JioSaavn API written in Python using FastAPI.

Work is in Progress.

Made using this ❤️

  • FastAPI is a modern, fast (high-performance), web framework for building APIs
  • Uvicorn is a lightning-fast ASGI server implementation,
  • Pydantic is used for data validation and settings management using python type annotations.
  • jiosaavn is used to Search songs & album. Get song, album, playlist & lyric information from JioSaavn.
  • detacache is used to cache request to Deta Base.

Features

  • Fast and scalable
  • cache request to Deta Base
  • Self host easily
  • Connect to your own domain
  • Free and Open Source

Docs

How to deploy

You are expected to have git installed in your system.

First of all clone the repository and move into the directory.

git clone https://github.com/vidyasagar1432/jiosaavn-api
cd jiosaavn-api

Deploy to Heroku

Make sure you have Heroku CLI installed.

  • Create a new Heroku app

    heroku create
  • Push the code to Heroku

    git push heroku main

Deploy to Deta

Make sure you have Deta CLI installed.

  • Create a new Deta Micro

    deta new --python
  • Deploy your local code (and dependencies) to your Deta Micro.

    deta deploy

Run on Localhost

  • Install dependancies from requirements.txt
    pip install -r requirements.txt
  • Run the server using uvicorn
    uvicorn main:app --reload

License

MIT License

Copyright (c) 2021 Vidya Sagar