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.
Files changed (30) hide show
  1. {radiojavanapi-0.7.0 → radiojavanapi-0.8.0}/PKG-INFO +19 -19
  2. {radiojavanapi-0.7.0 → radiojavanapi-0.8.0}/README.md +18 -18
  3. {radiojavanapi-0.7.0 → radiojavanapi-0.8.0}/radiojavanapi/constants.py +1 -1
  4. {radiojavanapi-0.7.0 → radiojavanapi-0.8.0}/radiojavanapi/extractors.py +1 -0
  5. {radiojavanapi-0.7.0 → radiojavanapi-0.8.0}/radiojavanapi/models.py +6 -0
  6. {radiojavanapi-0.7.0 → radiojavanapi-0.8.0}/radiojavanapi.egg-info/PKG-INFO +19 -19
  7. {radiojavanapi-0.7.0 → radiojavanapi-0.8.0}/setup.py +1 -1
  8. {radiojavanapi-0.7.0 → radiojavanapi-0.8.0}/LICENSE +0 -0
  9. {radiojavanapi-0.7.0 → radiojavanapi-0.8.0}/radiojavanapi/__init__.py +0 -0
  10. {radiojavanapi-0.7.0 → radiojavanapi-0.8.0}/radiojavanapi/exceptions.py +0 -0
  11. {radiojavanapi-0.7.0 → radiojavanapi-0.8.0}/radiojavanapi/helper.py +0 -0
  12. {radiojavanapi-0.7.0 → radiojavanapi-0.8.0}/radiojavanapi/mixins/__init__.py +0 -0
  13. {radiojavanapi-0.7.0 → radiojavanapi-0.8.0}/radiojavanapi/mixins/account.py +0 -0
  14. {radiojavanapi-0.7.0 → radiojavanapi-0.8.0}/radiojavanapi/mixins/album.py +0 -0
  15. {radiojavanapi-0.7.0 → radiojavanapi-0.8.0}/radiojavanapi/mixins/artist.py +0 -0
  16. {radiojavanapi-0.7.0 → radiojavanapi-0.8.0}/radiojavanapi/mixins/auth.py +0 -0
  17. {radiojavanapi-0.7.0 → radiojavanapi-0.8.0}/radiojavanapi/mixins/browse.py +0 -0
  18. {radiojavanapi-0.7.0 → radiojavanapi-0.8.0}/radiojavanapi/mixins/playlist.py +0 -0
  19. {radiojavanapi-0.7.0 → radiojavanapi-0.8.0}/radiojavanapi/mixins/podcast.py +0 -0
  20. {radiojavanapi-0.7.0 → radiojavanapi-0.8.0}/radiojavanapi/mixins/private.py +0 -0
  21. {radiojavanapi-0.7.0 → radiojavanapi-0.8.0}/radiojavanapi/mixins/search.py +0 -0
  22. {radiojavanapi-0.7.0 → radiojavanapi-0.8.0}/radiojavanapi/mixins/song.py +0 -0
  23. {radiojavanapi-0.7.0 → radiojavanapi-0.8.0}/radiojavanapi/mixins/story.py +0 -0
  24. {radiojavanapi-0.7.0 → radiojavanapi-0.8.0}/radiojavanapi/mixins/user.py +0 -0
  25. {radiojavanapi-0.7.0 → radiojavanapi-0.8.0}/radiojavanapi/mixins/video.py +0 -0
  26. {radiojavanapi-0.7.0 → radiojavanapi-0.8.0}/radiojavanapi.egg-info/SOURCES.txt +0 -0
  27. {radiojavanapi-0.7.0 → radiojavanapi-0.8.0}/radiojavanapi.egg-info/dependency_links.txt +0 -0
  28. {radiojavanapi-0.7.0 → radiojavanapi-0.8.0}/radiojavanapi.egg-info/requires.txt +0 -0
  29. {radiojavanapi-0.7.0 → radiojavanapi-0.8.0}/radiojavanapi.egg-info/top_level.txt +0 -0
  30. {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.7.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
  ![PyPI - Downloads](https://img.shields.io/pypi/dm/radiojavanapi)
44
44
 
45
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.
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
- Support Python >= 3.7
48
+ Requires Python >= 3.7
49
49
 
50
- RadioJavan API valid for 3 August 2026 (last reverse-engineering check)
50
+ The RadioJavan API was last reverse-engineered and verified on 23 November 2026.
51
51
 
52
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
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 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
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 Github**
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 a song info.
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
- You can find the documentation [here](https://xhossein.github.io/radiojavanapi/).
105
+ The documentation is available [here](https://xhossein.github.io/radiojavanapi/).
106
106
 
107
107
  ## Support
108
108
 
109
- - Create a [GitHub issue](https://github.com/xHossein/radiojavanapi/issues) for bug reports, feature requests, or questions
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
  ![PyPI - Downloads](https://img.shields.io/pypi/dm/radiojavanapi)
4
4
 
5
5
  # radiojavanapi
6
- **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.
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
- Support Python >= 3.7
8
+ Requires Python >= 3.7
9
9
 
10
- RadioJavan API valid for 3 August 2026 (last reverse-engineering check)
10
+ The RadioJavan API was last reverse-engineered and verified on 23 November 2026.
11
11
 
12
12
  ## Features
13
- * Get full info of a Song, Video, Podcast, Story, Playlist, Artist, Album, User and your Account
14
- * Login by email and password
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 Unlike a Song, Video, Podcast and Story
17
- * Follow and Unfollow a Artist, User or MusicPlaylist
18
- * Get followers and following of a user
19
- * Create, Rename and Delete a playlist
20
- * Add song or video to playlist or Remove from it
21
- * Edit and Deactive account
22
- * Upload and Remove profile photo
23
- * Search and get trending, popular and ... medias\
24
- and much more else
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 Github**
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 a song info.
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
- You can find the documentation [here](https://xhossein.github.io/radiojavanapi/).
65
+ The documentation is available [here](https://xhossein.github.io/radiojavanapi/).
66
66
 
67
67
  ## Support
68
68
 
69
- - Create a [GitHub issue](https://github.com/xHossein/radiojavanapi/issues) for bug reports, feature requests, or questions
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.0.0 (Desktop) com.radioJavan.rj.desktop',
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.7.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
  ![PyPI - Downloads](https://img.shields.io/pypi/dm/radiojavanapi)
44
44
 
45
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.
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
- Support Python >= 3.7
48
+ Requires Python >= 3.7
49
49
 
50
- RadioJavan API valid for 3 August 2026 (last reverse-engineering check)
50
+ The RadioJavan API was last reverse-engineered and verified on 23 November 2026.
51
51
 
52
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
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 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
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 Github**
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 a song info.
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
- You can find the documentation [here](https://xhossein.github.io/radiojavanapi/).
105
+ The documentation is available [here](https://xhossein.github.io/radiojavanapi/).
106
106
 
107
107
  ## Support
108
108
 
109
- - Create a [GitHub issue](https://github.com/xHossein/radiojavanapi/issues) for bug reports, feature requests, or questions
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
 
@@ -13,7 +13,7 @@ requirements = [
13
13
 
14
14
  setup(
15
15
  name='radiojavanapi',
16
- version='0.7.0',
16
+ version='0.8.0',
17
17
  author='xHossein',
18
18
  license='MIT',
19
19
  url='https://github.com/xHossein/radiojavanapi',
File without changes
File without changes