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
Release history Release notifications | RSS feed
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)
Built Distribution
Close
Hashes for python_rj_app-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d3f841e315776cdb276209701ea3a0b39717e05eda8d472199bd798cd987602b |
|
MD5 | cd9a8eeff75bdbb879c1ec4ea544b864 |
|
BLAKE2b-256 | 6d8f286e42828045e154cf1fae17862317918e2254bd6cc980c5cf5ebceb3d18 |