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 details)
Built Distribution
File details
Details for the file python-rj-app-0.1.1.tar.gz
.
File metadata
- Download URL: python-rj-app-0.1.1.tar.gz
- Upload date:
- Size: 4.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 515d0bf0fba10eea1a0089789dce4bb827b27860e01ea9d6023f2d086c8c71f8 |
|
MD5 | b8ad98e309150bbf2a16c1d83cba23f4 |
|
BLAKE2b-256 | e89f6d77966bc77af7d0b6be78ca87eac6c54cd3df48c3678d595654e4c86a7b |
File details
Details for the file python_rj_app-0.1.1-py3-none-any.whl
.
File metadata
- Download URL: python_rj_app-0.1.1-py3-none-any.whl
- Upload date:
- Size: 5.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d3f841e315776cdb276209701ea3a0b39717e05eda8d472199bd798cd987602b |
|
MD5 | cd9a8eeff75bdbb879c1ec4ea544b864 |
|
BLAKE2b-256 | 6d8f286e42828045e154cf1fae17862317918e2254bd6cc980c5cf5ebceb3d18 |