radiojavanapi 0.7.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- radiojavanapi/__init__.py +50 -0
- radiojavanapi/constants.py +11 -0
- radiojavanapi/exceptions.py +46 -0
- radiojavanapi/extractors.py +159 -0
- radiojavanapi/helper.py +11 -0
- radiojavanapi/mixins/__init__.py +1 -0
- radiojavanapi/mixins/account.py +231 -0
- radiojavanapi/mixins/album.py +45 -0
- radiojavanapi/mixins/artist.py +76 -0
- radiojavanapi/mixins/auth.py +106 -0
- radiojavanapi/mixins/browse.py +89 -0
- radiojavanapi/mixins/playlist.py +312 -0
- radiojavanapi/mixins/podcast.py +74 -0
- radiojavanapi/mixins/private.py +109 -0
- radiojavanapi/mixins/search.py +35 -0
- radiojavanapi/mixins/song.py +85 -0
- radiojavanapi/mixins/story.py +75 -0
- radiojavanapi/mixins/user.py +110 -0
- radiojavanapi/mixins/video.py +86 -0
- radiojavanapi/models.py +232 -0
- radiojavanapi-0.7.0.dist-info/METADATA +120 -0
- radiojavanapi-0.7.0.dist-info/RECORD +25 -0
- radiojavanapi-0.7.0.dist-info/WHEEL +5 -0
- radiojavanapi-0.7.0.dist-info/licenses/LICENSE +21 -0
- radiojavanapi-0.7.0.dist-info/top_level.txt +1 -0
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: radiojavanapi
|
|
3
|
+
Version: 0.7.0
|
|
4
|
+
Summary: Fast and effective RadioJavan API Wrapper
|
|
5
|
+
Home-page: https://github.com/xHossein/radiojavanapi
|
|
6
|
+
Author: xHossein
|
|
7
|
+
License: MIT
|
|
8
|
+
Keywords: radiojavan private api,radiojavan-private-api,radiojavan api,radiojavan-api,rj api,rj-api,radiojavan,radio javan,radio-javan
|
|
9
|
+
Classifier: Development Status :: 5 - Production/Stable
|
|
10
|
+
Classifier: Intended Audience :: Developers
|
|
11
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
12
|
+
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
13
|
+
Classifier: Programming Language :: Python :: 3.7
|
|
14
|
+
Classifier: Programming Language :: Python :: 3.8
|
|
15
|
+
Classifier: Programming Language :: Python :: 3.9
|
|
16
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
17
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
18
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
19
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
20
|
+
Classifier: Programming Language :: Python :: 3.14
|
|
21
|
+
Classifier: Programming Language :: Python :: 3.15
|
|
22
|
+
Requires-Python: >=3.7
|
|
23
|
+
Description-Content-Type: text/markdown
|
|
24
|
+
License-File: LICENSE
|
|
25
|
+
Requires-Dist: requests==2.34.2
|
|
26
|
+
Requires-Dist: requests-toolbelt==1.0.0
|
|
27
|
+
Requires-Dist: PySocks==1.7.1
|
|
28
|
+
Requires-Dist: pydantic==2.13.4
|
|
29
|
+
Dynamic: author
|
|
30
|
+
Dynamic: classifier
|
|
31
|
+
Dynamic: description
|
|
32
|
+
Dynamic: description-content-type
|
|
33
|
+
Dynamic: home-page
|
|
34
|
+
Dynamic: keywords
|
|
35
|
+
Dynamic: license
|
|
36
|
+
Dynamic: license-file
|
|
37
|
+
Dynamic: requires-dist
|
|
38
|
+
Dynamic: requires-python
|
|
39
|
+
Dynamic: summary
|
|
40
|
+
|
|
41
|
+

|
|
42
|
+

|
|
43
|
+

|
|
44
|
+
|
|
45
|
+
# radiojavanapi
|
|
46
|
+
**radiojavanapi** is a Python library and wrapper for RadioJavan's API, enabling developers to create bots, streaming applications, download tools, and automation scripts with minimal effort.
|
|
47
|
+
|
|
48
|
+
Support Python >= 3.7
|
|
49
|
+
|
|
50
|
+
RadioJavan API valid for 3 August 2026 (last reverse-engineering check)
|
|
51
|
+
|
|
52
|
+
## Features
|
|
53
|
+
* Get full info of a Song, Video, Podcast, Story, Playlist, Artist, Album, User and your Account
|
|
54
|
+
* Login by email and password
|
|
55
|
+
* Sign up to RadioJavan
|
|
56
|
+
* Like and Unlike a Song, Video, Podcast and Story
|
|
57
|
+
* Follow and Unfollow a Artist, User or MusicPlaylist
|
|
58
|
+
* Get followers and following of a user
|
|
59
|
+
* Create, Rename and Delete a playlist
|
|
60
|
+
* Add song or video to playlist or Remove from it
|
|
61
|
+
* Edit and Deactive account
|
|
62
|
+
* Upload and Remove profile photo
|
|
63
|
+
* Search and get trending, popular and ... medias\
|
|
64
|
+
and much more else
|
|
65
|
+
|
|
66
|
+
## Installation
|
|
67
|
+
**From PyPI**
|
|
68
|
+
```
|
|
69
|
+
pip install radiojavanapi
|
|
70
|
+
```
|
|
71
|
+
|
|
72
|
+
**From Github**
|
|
73
|
+
```
|
|
74
|
+
pip install git+https://github.com/xHossein/radiojavanapi@master
|
|
75
|
+
```
|
|
76
|
+
|
|
77
|
+
## Basic Usage
|
|
78
|
+
|
|
79
|
+
```python
|
|
80
|
+
from radiojavanapi import Client
|
|
81
|
+
|
|
82
|
+
# Create a Client instance and get a song info.
|
|
83
|
+
client = Client()
|
|
84
|
+
song = client.get_song_by_url(
|
|
85
|
+
'https://play.radiojavan.com/song/sijal-baz-mirim-baham-(ft-sami-low)')
|
|
86
|
+
|
|
87
|
+
print(f"""
|
|
88
|
+
Name: {song.name}
|
|
89
|
+
Artist: {song.artist}
|
|
90
|
+
HQ-Link: {song.hq_link}
|
|
91
|
+
""")
|
|
92
|
+
|
|
93
|
+
```
|
|
94
|
+
<details>
|
|
95
|
+
<summary>Show Output</summary>
|
|
96
|
+
|
|
97
|
+
```
|
|
98
|
+
Name: Baz Mirim Baham (Ft Sami Low)
|
|
99
|
+
Artist: Sijal
|
|
100
|
+
HQ-Link: https://host2.mediacon-rj.app/media/mp3/aac-256/99926-cf9dd3814907dbb.m4a
|
|
101
|
+
```
|
|
102
|
+
</details>
|
|
103
|
+
|
|
104
|
+
## Documentation
|
|
105
|
+
You can find the documentation [here](https://xhossein.github.io/radiojavanapi/).
|
|
106
|
+
|
|
107
|
+
## Support
|
|
108
|
+
|
|
109
|
+
- Create a [GitHub issue](https://github.com/xHossein/radiojavanapi/issues) for bug reports, feature requests, or questions
|
|
110
|
+
- Add a ⭐️ [star on GitHub](https://github.com/xHossein/radiojavanapi) to support the project!
|
|
111
|
+
|
|
112
|
+
|
|
113
|
+
## Contributing
|
|
114
|
+
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
|
|
115
|
+
|
|
116
|
+
## Changelog
|
|
117
|
+
You can find this repository's changelog [here](https://github.com/xHossein/radiojavanapi/blob/master/CHANGELOG.md).
|
|
118
|
+
|
|
119
|
+
## License
|
|
120
|
+
This project is licensed under the [MIT license](https://choosealicense.com/licenses/mit/).
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
radiojavanapi/__init__.py,sha256=vrpkFEK3gKETGKg4QjRP4s8i3l9fjWVxsJL2i_caPVo,1797
|
|
2
|
+
radiojavanapi/constants.py,sha256=p42PuYRGdPHJfG4vefRXQ04mDDOyfgLXROEW-51wQq4,517
|
|
3
|
+
radiojavanapi/exceptions.py,sha256=3Yt5ZvDmKHxmfqqnOT3Vn7F5FZ-enH_OQhtLpfIkODQ,826
|
|
4
|
+
radiojavanapi/extractors.py,sha256=xdZkx8fbjYWt_ZOdyyOgUhn8sonw4-_mumA1PVgm94o,7435
|
|
5
|
+
radiojavanapi/helper.py,sha256=ZwWn3pmoNAEShTRtuWx8rWGZC3aIfAAwlIfdYXWbc_I,347
|
|
6
|
+
radiojavanapi/models.py,sha256=oicNmr_kPidnx_Qv7gGddF6x46FoSOcdjeOeeb5obbg,5531
|
|
7
|
+
radiojavanapi/mixins/__init__.py,sha256=M0NZuQ7-112l8K2h1eayVvSmvQrufrOcD5AYKgIf_Is,1
|
|
8
|
+
radiojavanapi/mixins/account.py,sha256=DCPlWwpnJGtPOVjDS4zscum9TJ65waL_Zx5eXbnLfXg,7361
|
|
9
|
+
radiojavanapi/mixins/album.py,sha256=EtjpT08agdKMbVQcVs0eGenyNXjvRyxdJt8uCRWZR4Y,1350
|
|
10
|
+
radiojavanapi/mixins/artist.py,sha256=_U9aZdLaJN5Jij_VtBkFejOR3P4Szna0WysE6lNHavY,2203
|
|
11
|
+
radiojavanapi/mixins/auth.py,sha256=x5UlZCXCcteOmfKcAVD-Mo02DJEDe03WElQDEblL8AE,3064
|
|
12
|
+
radiojavanapi/mixins/browse.py,sha256=0pkvLA29ua9_aW9op3Ll1J9-9BSFJtLzbEanPia6CvU,3435
|
|
13
|
+
radiojavanapi/mixins/playlist.py,sha256=nzCQz3GhcPTbaRiMCxrKvfsPyL8MIC8oMVU22zadqdM,9737
|
|
14
|
+
radiojavanapi/mixins/podcast.py,sha256=-nYjhoEeVFLa7Y-Mz44KUXl9vzFj04Xbwxdpabs6Gmg,1980
|
|
15
|
+
radiojavanapi/mixins/private.py,sha256=gJS5xrjBkH3TZb8seRw4Jes9rycRuzyMG7NKKE3czfU,4698
|
|
16
|
+
radiojavanapi/mixins/search.py,sha256=lu6QDsvbA0rn_Ddf1TVXIjY5pZM7VQ20Gue51Y8JOi8,1002
|
|
17
|
+
radiojavanapi/mixins/song.py,sha256=W-ZOZoOcwOCD2a84jkNhQ5nQDD3hoqbFdE-F0bh_QIQ,2194
|
|
18
|
+
radiojavanapi/mixins/story.py,sha256=IU0-Jqsij16LFqMbxpmPqSh_2Jz6V8osNyAciP9ilLQ,1941
|
|
19
|
+
radiojavanapi/mixins/user.py,sha256=cM1dO48WbahZqt23fIYMwib6OS-UdiD20qDNOXvYd88,3010
|
|
20
|
+
radiojavanapi/mixins/video.py,sha256=qd6v2qbQa3jI4eQbjhwCbi5TWdomM0eHwmdoTyvZmEM,2261
|
|
21
|
+
radiojavanapi-0.7.0.dist-info/licenses/LICENSE,sha256=exS4GbxehUUVk4QVb9fM_g7btQpVy6VD0wS1kqyF-Bw,1065
|
|
22
|
+
radiojavanapi-0.7.0.dist-info/METADATA,sha256=qsV-1Iohlq5Kpt_2CsKziZolXYRCZiQnY88mO_-RQyQ,4032
|
|
23
|
+
radiojavanapi-0.7.0.dist-info/WHEEL,sha256=K260EYznzXsJYBQGqmI8VTxEdiZYNvDZwW9cBh9-_MA,91
|
|
24
|
+
radiojavanapi-0.7.0.dist-info/top_level.txt,sha256=kS0RF4lfI4h0C_pVwwSsEwI-iXXKEGQxeaon9wX9qBo,14
|
|
25
|
+
radiojavanapi-0.7.0.dist-info/RECORD,,
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2021 xHossein
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
radiojavanapi
|