Skip to main content

Radio Javan Python Binding

Project description

Python Radio Javan API


Basic Radio Javan (Persian Music App) python API with proxy support for bad guys!

Install:

To install this library you can choose one of these steps:

1- Install from pip:

pip install python-rj-app

2- Install from this source:

python setup.py install

Usage:

from rj_app.user_auth import UserAuth
from rj_app.media import MP3

# Login user and get some info from user profile
user = UserAuth()
login_data = user.login("kaxelet990@unigeol.com", "123123123")
user.user_profile()

# now let's download an MP3 file!
user_session = user.get_session()
mp3 = MP3(user_session)
print(mp3.get_playlist())

# and if you want to download MP3:
info = mp3.info(103930)

# prints the save path of MP3 file
print(mp3.download_file(info.get("link")))

Other API endpoints:

You can use RjBaseRequest class to extend API endpoints. All you need is a URL with its parameters and then POST it to server.

Bad Guys:

You may use this on your own to create bulk accounts! It's on your own. but you want to use my chain proxy too :)

Contribute?

You are always welcome

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

python-rj-app-0.1.1.tar.gz (4.6 kB view hashes)

Uploaded Source

Built Distribution

python_rj_app-0.1.1-py3-none-any.whl (5.3 kB view hashes)

Uploaded Python 3

Supported by

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