Hi,
So i have multi genre in my app, that means i need to be able to apply all calls genre specific
For example for the charts i need the top tracks (which is available) but for a specific genre
Latest added, trending...etc
For tracks, albums and artists
Sent from my iPhone using Tapatalk
Expand genre api
- Madsonic
- Administrator
- Posts: 986
- Joined: 07 Dec 2012, 03:58
- Has thanked: 1204 times
- Been thanked: 470 times
Re: Expand genre api
Dear Ahmed,a7medo778 wrote:Hi,
So i have multi genre in my app, that means i need to be able to apply all calls genre specific
For example for the charts i need the top tracks (which is available) but for a specific genre
Latest added, trending...etc
For tracks, albums and artists
Sent from my iPhone using Tapatalk
We put your suggestion to the todo list!
Please look at the API documentation, some REST calls already exist where you can specify your genre.
getArtistsByGenre http://beta.madsonic.org/pages/api.jsp# ... stsByGenre
getRandomAlbumsID3 http://beta.madsonic.org/pages/api.jsp# ... mAlbumsID3
getAlbumListID3 http://beta.madsonic.org/pages/api.jsp#getAlbumListID3
getRandomSongs http://beta.madsonic.org/pages/api.jsp#getRandomSongs
Best regards,
The Madsonic Team
Re: Expand genre api
Thanks for the reply, its awesome that its added to the list as its import to create a proper charts featureMadevil wrote:Dear Ahmed,a7medo778 wrote:Hi,
So i have multi genre in my app, that means i need to be able to apply all calls genre specific
For example for the charts i need the top tracks (which is available) but for a specific genre
Latest added, trending...etc
For tracks, albums and artists
Sent from my iPhone using Tapatalk
We put your suggestion to the todo list!
Please look at the API documentation, some REST calls already exist where you can specify your genre.
getArtistsByGenre http://beta.madsonic.org/pages/api.jsp# ... stsByGenre
getRandomAlbumsID3 http://beta.madsonic.org/pages/api.jsp# ... mAlbumsID3
getAlbumListID3 http://beta.madsonic.org/pages/api.jsp#getAlbumListID3
getRandomSongs http://beta.madsonic.org/pages/api.jsp#getRandomSongs
Best regards,
The Madsonic Team
If i may add, a time scope parameter (top played by week, month, all time) if possible
(Though i think it should be calculated once a day or a week)
Sent from my iPhone using Tapatalk
- These users thanked the author a7medo778 for the post (total 2):
- Madsonic • Matt Zornig
- Rating: 15.38%
- Matt Zornig
- Contributor
- Posts: 242
- Joined: 14 Feb 2017, 12:03
- Has thanked: 38 times
- Been thanked: 28 times
Re: Expand genre api
I like this, although its possible to get this information outside of madsonic, if you have configured the last.fm scrobbling in madsonic. Then you can just use the last.fm service (but I know, this is not what you want).a7medo778 wrote:If i may add, a time scope parameter (top played by week, month, all time) if possible
(Though i think it should be calculated once a day or a week)