Last active
April 27, 2023 17:08
-
-
Save khoin/11315956 to your computer and use it in GitHub Desktop.
Audiotool has some undocumented APIs. Here is a list of it, in class you wanna build some kewl apps :>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Discovered Audiotool API URIs: | |
--Login: http://api.audiotool.com/users/login/ | |
** Method : GET | |
** Parameters : username, password | |
** Return Type : XML | |
<session> | |
<key> ... </key> | |
<created> {Epoch} </created> <modified> {Epoch} </modified> | |
<user> | |
... | |
</user> | |
</session> | |
--Me: http://api.audiotool.com/users/me/ | |
** Method : GET | |
** Parameters : n/a | |
** Requirements : Logged in or with cular-session. | |
** Return Type : XML | |
<user> | |
<key/> <name/> <email/> <rank/>{float} <activated/>{bool} <registered/>{epoch} <last-login/>{epoch} | |
<description/> <sampleUpload/>{bool} | |
<avatarURL/> | |
<domain> | |
<url/> <key/> <name/> | |
</domain> | |
</user> | |
-- Author Directories: http://api.audiotool.com/browse/user/{username}/ | |
** Method : GET | |
** Return Type : XML | |
<dir image="{img-uri}" title subtitle large-image> | |
<dir uri title/> | |
</dir> | |
-- Author Tracks: http://api.audiotool.com/browse/user/{username}/tracks/ | |
** Method : GET | |
** Return Type : XML | |
<dir image="{img-uri}" title subtitle large-image> | |
<track duration key user-name image title user-key/> | |
</dir> | |
-- Track: http://api.audiotool.com/{track}/eds/ | |
** Method : GET | |
** Return Type : XML | |
<track> ... </track> | |
-- Favorite Track: http://api.audiotool.com/track/{track}/favorite/ | |
** Method : GET | |
** Return : </yey> if success | |
<error id="0">Internal error</error> if already favorited | |
-- Unfavorite/ToggleFav Track: http://api.audiotool.com/track/{track}/unfavorite/ | |
** Method : GET | |
** Return : </yey> always return. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
There are several more APIs nested in these, but I'm not going into details because they're similar and would just fill this gist too long. Sorry for the Indentation, too. I think either Notepad++ has indented this text too much or I've set up this GitHub's Gist indentation wrongly.