Fast and effective RadioJavan API Wrapper
Project description
radiojavanapi
radiojavanapi is a Python library for accessing RadioJavan's features. With this library you can create Telegram Bots with ease and simplicity.
Support Python >= 3.7
RadioJavan API valid for 14 January 2023 (last reverse-engineering check)
Features
- Get full info of a Song, Video, Podcast, Story, Playlist, Artist, Album, User and your Account
- Login by email and password
- Sign up to RadioJavan
- Like and Unlike a Song, Video, Podcast and Story
- Follow and Unfollow a Artist, User or MusicPlaylist
- Get followers and following of a user
- Create, Rename and Delete a playlist
- Add song or video to playlist or Remove from it
- Edit and Deactive account
- Upload and Remove profile photo
- Search and get trending, popular and ... medias
and much more else
Installation
From PyPI
pip install radiojavanapi
From Github
pip install git+https://github.com/xHossein/radiojavanapi@master
Basic Usage
from radiojavanapi import Client
# Create a Client instance and get a song info.
client = Client()
song = client.get_song_by_url(
'https://www.radiojavan.com/mp3s/mp3/Sijal-Baz-Mirim-Baham-(Ft-Sami-Low)')
print(f"""
Name: {song.name}
Artist: {song.artist}
HQ-Link: {song.hq_link}
""")
Show Output
Name: Baz Mirim Baham (Ft Sami Low)
Artist: Sijal
HQ-Link: https://host2.mediacon-rj.app/media/mp3/aac-256/99926-cf9dd3814907dbb.m4a
Documentation
You can find the documentation here.
Support
- Create a GitHub issue for bug reports, feature requests, or questions
- Add a ⭐️ star on GitHub to support the project!
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Changelog
You can find this repository's changelog here.
License
This project is licensed under the MIT license.
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
radiojavanapi-0.5.0.tar.gz
(16.4 kB
view details)
File details
Details for the file radiojavanapi-0.5.0.tar.gz
.
File metadata
- Download URL: radiojavanapi-0.5.0.tar.gz
- Upload date:
- Size: 16.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fee130825f55bd4dc688fd4f59d7c977faf5c7f010f3d80970bcc36d09408906 |
|
MD5 | fbba9b88c135d1174059e8f585f17124 |
|
BLAKE2b-256 | 955b96db56ad9a83f2e64a8d83ab1773699be0d164fef66fdcd7fcd76abf5ffd |