radiojavanapi 0.7.0__tar.gz → 0.8.0__tar.gz
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-0.7.0 → radiojavanapi-0.8.0}/PKG-INFO +19 -19
- {radiojavanapi-0.7.0 → radiojavanapi-0.8.0}/README.md +18 -18
- {radiojavanapi-0.7.0 → radiojavanapi-0.8.0}/radiojavanapi/constants.py +1 -1
- {radiojavanapi-0.7.0 → radiojavanapi-0.8.0}/radiojavanapi/extractors.py +1 -0
- {radiojavanapi-0.7.0 → radiojavanapi-0.8.0}/radiojavanapi/models.py +6 -0
- {radiojavanapi-0.7.0 → radiojavanapi-0.8.0}/radiojavanapi.egg-info/PKG-INFO +19 -19
- {radiojavanapi-0.7.0 → radiojavanapi-0.8.0}/setup.py +1 -1
- {radiojavanapi-0.7.0 → radiojavanapi-0.8.0}/LICENSE +0 -0
- {radiojavanapi-0.7.0 → radiojavanapi-0.8.0}/radiojavanapi/__init__.py +0 -0
- {radiojavanapi-0.7.0 → radiojavanapi-0.8.0}/radiojavanapi/exceptions.py +0 -0
- {radiojavanapi-0.7.0 → radiojavanapi-0.8.0}/radiojavanapi/helper.py +0 -0
- {radiojavanapi-0.7.0 → radiojavanapi-0.8.0}/radiojavanapi/mixins/__init__.py +0 -0
- {radiojavanapi-0.7.0 → radiojavanapi-0.8.0}/radiojavanapi/mixins/account.py +0 -0
- {radiojavanapi-0.7.0 → radiojavanapi-0.8.0}/radiojavanapi/mixins/album.py +0 -0
- {radiojavanapi-0.7.0 → radiojavanapi-0.8.0}/radiojavanapi/mixins/artist.py +0 -0
- {radiojavanapi-0.7.0 → radiojavanapi-0.8.0}/radiojavanapi/mixins/auth.py +0 -0
- {radiojavanapi-0.7.0 → radiojavanapi-0.8.0}/radiojavanapi/mixins/browse.py +0 -0
- {radiojavanapi-0.7.0 → radiojavanapi-0.8.0}/radiojavanapi/mixins/playlist.py +0 -0
- {radiojavanapi-0.7.0 → radiojavanapi-0.8.0}/radiojavanapi/mixins/podcast.py +0 -0
- {radiojavanapi-0.7.0 → radiojavanapi-0.8.0}/radiojavanapi/mixins/private.py +0 -0
- {radiojavanapi-0.7.0 → radiojavanapi-0.8.0}/radiojavanapi/mixins/search.py +0 -0
- {radiojavanapi-0.7.0 → radiojavanapi-0.8.0}/radiojavanapi/mixins/song.py +0 -0
- {radiojavanapi-0.7.0 → radiojavanapi-0.8.0}/radiojavanapi/mixins/story.py +0 -0
- {radiojavanapi-0.7.0 → radiojavanapi-0.8.0}/radiojavanapi/mixins/user.py +0 -0
- {radiojavanapi-0.7.0 → radiojavanapi-0.8.0}/radiojavanapi/mixins/video.py +0 -0
- {radiojavanapi-0.7.0 → radiojavanapi-0.8.0}/radiojavanapi.egg-info/SOURCES.txt +0 -0
- {radiojavanapi-0.7.0 → radiojavanapi-0.8.0}/radiojavanapi.egg-info/dependency_links.txt +0 -0
- {radiojavanapi-0.7.0 → radiojavanapi-0.8.0}/radiojavanapi.egg-info/requires.txt +0 -0
- {radiojavanapi-0.7.0 → radiojavanapi-0.8.0}/radiojavanapi.egg-info/top_level.txt +0 -0
- {radiojavanapi-0.7.0 → radiojavanapi-0.8.0}/setup.cfg +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: radiojavanapi
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.8.0
|
|
4
4
|
Summary: Fast and effective RadioJavan API Wrapper
|
|
5
5
|
Home-page: https://github.com/xHossein/radiojavanapi
|
|
6
6
|
Author: xHossein
|
|
@@ -43,25 +43,25 @@ Dynamic: summary
|
|
|
43
43
|

|
|
44
44
|
|
|
45
45
|
# radiojavanapi
|
|
46
|
-
**radiojavanapi** is a Python library and wrapper for RadioJavan
|
|
46
|
+
**radiojavanapi** is a Python library and wrapper for the RadioJavan API. It lets you build bots, streaming applications, download tools, and automation scripts with minimal effort.
|
|
47
47
|
|
|
48
|
-
|
|
48
|
+
Requires Python >= 3.7
|
|
49
49
|
|
|
50
|
-
RadioJavan API
|
|
50
|
+
The RadioJavan API was last reverse-engineered and verified on 23 November 2026.
|
|
51
51
|
|
|
52
52
|
## Features
|
|
53
|
-
* Get full info
|
|
54
|
-
*
|
|
53
|
+
* Get full info for a Song, Video, Podcast, Story, Playlist, Artist, Album, or User, as well as your own Account
|
|
54
|
+
* Log in with an email and password
|
|
55
55
|
* Sign up to RadioJavan
|
|
56
|
-
* Like and
|
|
57
|
-
* Follow and
|
|
58
|
-
* Get followers and following
|
|
59
|
-
* Create,
|
|
60
|
-
* Add song or video to playlist or
|
|
61
|
-
* Edit and
|
|
62
|
-
* Upload and
|
|
63
|
-
* Search and get trending, popular and
|
|
64
|
-
|
|
56
|
+
* Like and unlike a Song, Video, Podcast, or Story
|
|
57
|
+
* Follow and unfollow an Artist, User, or MusicPlaylist
|
|
58
|
+
* Get a user's followers and following
|
|
59
|
+
* Create, rename, and delete playlists
|
|
60
|
+
* Add a song or video to a playlist, or remove it
|
|
61
|
+
* Edit and deactivate your account
|
|
62
|
+
* Upload and remove your profile photo
|
|
63
|
+
* Search, and get trending, popular, and featured media
|
|
64
|
+
* And much more
|
|
65
65
|
|
|
66
66
|
## Installation
|
|
67
67
|
**From PyPI**
|
|
@@ -69,7 +69,7 @@ and much more else
|
|
|
69
69
|
pip install radiojavanapi
|
|
70
70
|
```
|
|
71
71
|
|
|
72
|
-
**From
|
|
72
|
+
**From GitHub**
|
|
73
73
|
```
|
|
74
74
|
pip install git+https://github.com/xHossein/radiojavanapi@master
|
|
75
75
|
```
|
|
@@ -79,7 +79,7 @@ pip install git+https://github.com/xHossein/radiojavanapi@master
|
|
|
79
79
|
```python
|
|
80
80
|
from radiojavanapi import Client
|
|
81
81
|
|
|
82
|
-
# Create a Client instance and get
|
|
82
|
+
# Create a Client instance and get song info.
|
|
83
83
|
client = Client()
|
|
84
84
|
song = client.get_song_by_url(
|
|
85
85
|
'https://play.radiojavan.com/song/sijal-baz-mirim-baham-(ft-sami-low)')
|
|
@@ -102,11 +102,11 @@ HQ-Link: https://host2.mediacon-rj.app/media/mp3/aac-256/99926-cf9dd3814907dbb.m
|
|
|
102
102
|
</details>
|
|
103
103
|
|
|
104
104
|
## Documentation
|
|
105
|
-
|
|
105
|
+
The documentation is available [here](https://xhossein.github.io/radiojavanapi/).
|
|
106
106
|
|
|
107
107
|
## Support
|
|
108
108
|
|
|
109
|
-
-
|
|
109
|
+
- Open a [GitHub issue](https://github.com/xHossein/radiojavanapi/issues) for bug reports, feature requests, or questions
|
|
110
110
|
- Add a ⭐️ [star on GitHub](https://github.com/xHossein/radiojavanapi) to support the project!
|
|
111
111
|
|
|
112
112
|
|
|
@@ -3,25 +3,25 @@
|
|
|
3
3
|

|
|
4
4
|
|
|
5
5
|
# radiojavanapi
|
|
6
|
-
**radiojavanapi** is a Python library and wrapper for RadioJavan
|
|
6
|
+
**radiojavanapi** is a Python library and wrapper for the RadioJavan API. It lets you build bots, streaming applications, download tools, and automation scripts with minimal effort.
|
|
7
7
|
|
|
8
|
-
|
|
8
|
+
Requires Python >= 3.7
|
|
9
9
|
|
|
10
|
-
RadioJavan API
|
|
10
|
+
The RadioJavan API was last reverse-engineered and verified on 23 November 2026.
|
|
11
11
|
|
|
12
12
|
## Features
|
|
13
|
-
* Get full info
|
|
14
|
-
*
|
|
13
|
+
* Get full info for a Song, Video, Podcast, Story, Playlist, Artist, Album, or User, as well as your own Account
|
|
14
|
+
* Log in with an email and password
|
|
15
15
|
* Sign up to RadioJavan
|
|
16
|
-
* Like and
|
|
17
|
-
* Follow and
|
|
18
|
-
* Get followers and following
|
|
19
|
-
* Create,
|
|
20
|
-
* Add song or video to playlist or
|
|
21
|
-
* Edit and
|
|
22
|
-
* Upload and
|
|
23
|
-
* Search and get trending, popular and
|
|
24
|
-
|
|
16
|
+
* Like and unlike a Song, Video, Podcast, or Story
|
|
17
|
+
* Follow and unfollow an Artist, User, or MusicPlaylist
|
|
18
|
+
* Get a user's followers and following
|
|
19
|
+
* Create, rename, and delete playlists
|
|
20
|
+
* Add a song or video to a playlist, or remove it
|
|
21
|
+
* Edit and deactivate your account
|
|
22
|
+
* Upload and remove your profile photo
|
|
23
|
+
* Search, and get trending, popular, and featured media
|
|
24
|
+
* And much more
|
|
25
25
|
|
|
26
26
|
## Installation
|
|
27
27
|
**From PyPI**
|
|
@@ -29,7 +29,7 @@ and much more else
|
|
|
29
29
|
pip install radiojavanapi
|
|
30
30
|
```
|
|
31
31
|
|
|
32
|
-
**From
|
|
32
|
+
**From GitHub**
|
|
33
33
|
```
|
|
34
34
|
pip install git+https://github.com/xHossein/radiojavanapi@master
|
|
35
35
|
```
|
|
@@ -39,7 +39,7 @@ pip install git+https://github.com/xHossein/radiojavanapi@master
|
|
|
39
39
|
```python
|
|
40
40
|
from radiojavanapi import Client
|
|
41
41
|
|
|
42
|
-
# Create a Client instance and get
|
|
42
|
+
# Create a Client instance and get song info.
|
|
43
43
|
client = Client()
|
|
44
44
|
song = client.get_song_by_url(
|
|
45
45
|
'https://play.radiojavan.com/song/sijal-baz-mirim-baham-(ft-sami-low)')
|
|
@@ -62,11 +62,11 @@ HQ-Link: https://host2.mediacon-rj.app/media/mp3/aac-256/99926-cf9dd3814907dbb.m
|
|
|
62
62
|
</details>
|
|
63
63
|
|
|
64
64
|
## Documentation
|
|
65
|
-
|
|
65
|
+
The documentation is available [here](https://xhossein.github.io/radiojavanapi/).
|
|
66
66
|
|
|
67
67
|
## Support
|
|
68
68
|
|
|
69
|
-
-
|
|
69
|
+
- Open a [GitHub issue](https://github.com/xHossein/radiojavanapi/issues) for bug reports, feature requests, or questions
|
|
70
70
|
- Add a ⭐️ [star on GitHub](https://github.com/xHossein/radiojavanapi) to support the project!
|
|
71
71
|
|
|
72
72
|
|
|
@@ -6,6 +6,6 @@ BASE_HEADERS = {
|
|
|
6
6
|
'Accept-Encoding': 'gzip, deflate',
|
|
7
7
|
'Host': 'rj-deskcloud.com',
|
|
8
8
|
'Connection': 'keep-alive',
|
|
9
|
-
'x-rj-user-agent': 'Radio Javan/5.
|
|
9
|
+
'x-rj-user-agent': 'Radio Javan/5.2.0 (Desktop) com.radioJavan.rj.desktop',
|
|
10
10
|
'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) RadioJavan/5.2.0 Chrome/130.0.6723.118 Electron/33.2.0 Safari/537.36',
|
|
11
11
|
}
|
|
@@ -57,6 +57,7 @@ def extract_podcast(data) -> Podcast:
|
|
|
57
57
|
data["likes"] = to_int(data.pop('likes'))
|
|
58
58
|
data["dislikes"] = to_int(data.pop('dislikes'))
|
|
59
59
|
data["related_podcasts"] = [extract_short_data(podcast, Podcast) for podcast in data.pop('related',[])]
|
|
60
|
+
data["tracklist_synced"] = data.pop('tracklist_synced', [])
|
|
60
61
|
return Podcast(**data)
|
|
61
62
|
|
|
62
63
|
def extract_artist(data) -> Artist:
|
|
@@ -136,6 +136,11 @@ class Video(RJBaseModel):
|
|
|
136
136
|
artist_tags: List[str] = []
|
|
137
137
|
related_videos: List[ShortData] = []
|
|
138
138
|
|
|
139
|
+
class PodcastTrackSync(BaseModel):
|
|
140
|
+
time: int
|
|
141
|
+
text: str
|
|
142
|
+
mp3: Optional[int] = None
|
|
143
|
+
|
|
139
144
|
class Podcast(RJBaseModel):
|
|
140
145
|
date: str
|
|
141
146
|
short_date: str
|
|
@@ -146,6 +151,7 @@ class Podcast(RJBaseModel):
|
|
|
146
151
|
plays: int
|
|
147
152
|
show_permlink: Optional[str] = ""
|
|
148
153
|
tracklist: Optional[str] = []
|
|
154
|
+
tracklist_synced: List[PodcastTrackSync] = []
|
|
149
155
|
related_podcasts: List[ShortData] = []
|
|
150
156
|
|
|
151
157
|
class Artist(BaseModel):
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: radiojavanapi
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.8.0
|
|
4
4
|
Summary: Fast and effective RadioJavan API Wrapper
|
|
5
5
|
Home-page: https://github.com/xHossein/radiojavanapi
|
|
6
6
|
Author: xHossein
|
|
@@ -43,25 +43,25 @@ Dynamic: summary
|
|
|
43
43
|

|
|
44
44
|
|
|
45
45
|
# radiojavanapi
|
|
46
|
-
**radiojavanapi** is a Python library and wrapper for RadioJavan
|
|
46
|
+
**radiojavanapi** is a Python library and wrapper for the RadioJavan API. It lets you build bots, streaming applications, download tools, and automation scripts with minimal effort.
|
|
47
47
|
|
|
48
|
-
|
|
48
|
+
Requires Python >= 3.7
|
|
49
49
|
|
|
50
|
-
RadioJavan API
|
|
50
|
+
The RadioJavan API was last reverse-engineered and verified on 23 November 2026.
|
|
51
51
|
|
|
52
52
|
## Features
|
|
53
|
-
* Get full info
|
|
54
|
-
*
|
|
53
|
+
* Get full info for a Song, Video, Podcast, Story, Playlist, Artist, Album, or User, as well as your own Account
|
|
54
|
+
* Log in with an email and password
|
|
55
55
|
* Sign up to RadioJavan
|
|
56
|
-
* Like and
|
|
57
|
-
* Follow and
|
|
58
|
-
* Get followers and following
|
|
59
|
-
* Create,
|
|
60
|
-
* Add song or video to playlist or
|
|
61
|
-
* Edit and
|
|
62
|
-
* Upload and
|
|
63
|
-
* Search and get trending, popular and
|
|
64
|
-
|
|
56
|
+
* Like and unlike a Song, Video, Podcast, or Story
|
|
57
|
+
* Follow and unfollow an Artist, User, or MusicPlaylist
|
|
58
|
+
* Get a user's followers and following
|
|
59
|
+
* Create, rename, and delete playlists
|
|
60
|
+
* Add a song or video to a playlist, or remove it
|
|
61
|
+
* Edit and deactivate your account
|
|
62
|
+
* Upload and remove your profile photo
|
|
63
|
+
* Search, and get trending, popular, and featured media
|
|
64
|
+
* And much more
|
|
65
65
|
|
|
66
66
|
## Installation
|
|
67
67
|
**From PyPI**
|
|
@@ -69,7 +69,7 @@ and much more else
|
|
|
69
69
|
pip install radiojavanapi
|
|
70
70
|
```
|
|
71
71
|
|
|
72
|
-
**From
|
|
72
|
+
**From GitHub**
|
|
73
73
|
```
|
|
74
74
|
pip install git+https://github.com/xHossein/radiojavanapi@master
|
|
75
75
|
```
|
|
@@ -79,7 +79,7 @@ pip install git+https://github.com/xHossein/radiojavanapi@master
|
|
|
79
79
|
```python
|
|
80
80
|
from radiojavanapi import Client
|
|
81
81
|
|
|
82
|
-
# Create a Client instance and get
|
|
82
|
+
# Create a Client instance and get song info.
|
|
83
83
|
client = Client()
|
|
84
84
|
song = client.get_song_by_url(
|
|
85
85
|
'https://play.radiojavan.com/song/sijal-baz-mirim-baham-(ft-sami-low)')
|
|
@@ -102,11 +102,11 @@ HQ-Link: https://host2.mediacon-rj.app/media/mp3/aac-256/99926-cf9dd3814907dbb.m
|
|
|
102
102
|
</details>
|
|
103
103
|
|
|
104
104
|
## Documentation
|
|
105
|
-
|
|
105
|
+
The documentation is available [here](https://xhossein.github.io/radiojavanapi/).
|
|
106
106
|
|
|
107
107
|
## Support
|
|
108
108
|
|
|
109
|
-
-
|
|
109
|
+
- Open a [GitHub issue](https://github.com/xHossein/radiojavanapi/issues) for bug reports, feature requests, or questions
|
|
110
110
|
- Add a ⭐️ [star on GitHub](https://github.com/xHossein/radiojavanapi) to support the project!
|
|
111
111
|
|
|
112
112
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|