FFR API

Provides developers access to data pretaining to FFR The Game.

The current API url is located at:

http://www.flashflashrevolution.com/api/api.php

User API Key

IP Credits

These credits are shared across API keys for your IP.

Remaining: 250 / 250 (100%)

100%

Documentation

Global Parameters

These parameters are used for all API calls.

Type Parameters Description Values
required key API key used for the request. API_KEY
required action The requested API function. See Below
optional output The desired output format. Default is JSON. json | xml

Global Errors

Code ERR_ID Error Message
-1 no_action No action was requested.
-1 invalid_key Invalid API Key.
-1 request_flood Too many request in the last 1 second(s).
-2 insufficient_credits Insufficient credits for request.

Actions

Credits

action = credits

Provides the remaining API credits remaining for the specified key along with the IP credits.


Level Ranks

action = ranks

Provides access to the level ranks for a user. Includes token + legacy files.

Parameters Description
userid The userid the ranks are being requested for. If used, username should be avoided.
username The username the rank are being requested for. If used, userid should be avoided.
Errors
Code ERR_ID Error Message
-1 invalid_user Invalid User Specified.


Recent Games

action = recent_games

Provides access to the users last 10 played games.

Parameters Description
userid The userid the ranks are being requested for. If used, username should be avoided.
username The username the rank are being requested for. If used, userid should be avoided.
Errors
Code ERR_ID Error Message
-1 invalid_user Invalid User Specified.