Skip to main content

Fast and effective RadioJavan API Wrapper

Project description

PyPI version License: MIT Downloads

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

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.4.0.tar.gz (16.4 kB view details)

Uploaded Source

File details

Details for the file radiojavanapi-0.4.0.tar.gz.

File metadata

  • Download URL: radiojavanapi-0.4.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

Hashes for radiojavanapi-0.4.0.tar.gz
Algorithm Hash digest
SHA256 899dd82d59e3dd2af3d841d810ed5118f50554f23e055c3ae17ddd560a717acf
MD5 e5b2bdbd206d608c4cbb032299cd7815
BLAKE2b-256 9f15e4ea39364d51cc7b3c5aad37b83a5e5f591c14e4b2badf6000f195840e47

See more details on using hashes here.

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