View Single Post
Old 08-14-2016, 08:44 AM   #30
Dinglesberry
longing
FFR Veteran
 
Dinglesberry's Avatar
 
Join Date: Dec 2007
Location: Ontario, Canada
Posts: 2,680
Default Re: [API] FFR API Beta

Quote:
Originally Posted by TC_Halogen View Post
Bump:

Is it possible to extend the API to have song level information?
Since theres no updates to the API, I've been working on extending it a bit myself.. heres my WIPs so far, probably going to make features for everything I want, most likely going to do advanced stats next:

So far, the only one I am somewhat done is:

getSongStats.php?levelid='levelidhere' //Returns details stats about a song

Code:
Example: getSongStats.php?levelid=1337

Output: Musician: - SUN3 - Listen: - - Step Artist: - bmah - Level Number: - 1337 - Song Genre: - Dance 2 - Song Style: - Dance Speed - Difficulty: - 78 - Note Count: - 1148 - Release Date: - 11-29-09 - Song Length: - 1:49 - Number of AAAs: - 45 - Number of FCs: - 391 - Number of Players: - 3,168 - # of Times Played: - 24,328 -

Example: getSongStats.php?levelid=1853

Output: Musician: - YouriX - Listen: - - Step Artist: - Elite Ninja - Level Number: - 1853 - Song Genre: - Funk - Song Style: - Drum'n Bass Jazz - Difficulty: - 48 - Note Count: - 965 - Release Date: - 11-24-12 - Song Length: - 1:50 - Number of AAAs: - 173 - Number of FCs: - 432 - Number of Players: - 2,128 - # of Times Played: - 5,292 -
She's coming along.. Just need to compile it to JSON rather than some plaintext mess. Once I have more stuff done I'll throw it up on a webserver or something.


EDIT: leaving this here for notes/if anyone else wants to work on stuff:

Code:
		public static const SITE_DATA_URL:String = "http://www.flashflashrevolution.com/game/r3/r3-siteData.php"; //Contains front page posts and content displayed on main page.
		public static const USER_INFO_URL:String = "http://www.flashflashrevolution.com/game/r3/r3-userInfo.php"; //Contains user specific settings for currently logged in, such as scroll dir, noteskin etc.
		public static const USER_FRIENDS_URL:String = "http://www.flashflashrevolution.com/game/r3/r3-userFriends.php"; //Lists current logged in users friends.

Last edited by Dinglesberry; 08-14-2016 at 09:03 AM..
Dinglesberry is offline   Reply With Quote