pmmpStats APIs Plugin list Add a plugin
pmmpStats API
To reciprocate the generosity of users to provide free data our bees are completely free and do not require an API Key. Now let's look at the endpoints:

ENDPOINT /api/v1/

GET /get?name=Shopkeepers

Retrieve the number of players and servers where your plugin operates, broken down into 30-minute timestamps.

Parameters:
- STRING name -> The plugin's name

GET /idFromName?name=Shopkeepers

Retrieve the ID assigned by Poggit to your plugin, if any.
Please note: the answer is a text/plain file.

Parameters:
- STRING name -> The plugin's name

GET /static/players?name=Shopkeepers

Generate a graph according to the players managed by your plugin.

Parameters:
- STRING name -> The plugin's name
- INT(1090-3500)(NULLABLE) width -> The image's width

GET /static/servers?name=Shopkeepers

Generate a graph according to the servers managed by your plugin.

Parameters:
- STRING name -> The plugin's name
- INT(1090-3500)(NULLABLE) width -> The image's width

GET /static/playersServers?name=Shopkeepers

Generate a graph according to the players and servers managed by your plugin.

Parameters:
- STRING name -> The plugin's name
- INT(1090-3500) width -> The image's width

GET /collect

Put data inside our system.
This endpoint is reserved to plugin async task!