Bastian/bstats-metrics

REST API is returning empty or HTTP404

Closed this issue · 1 comments

Hi again,

i'm thinking of implementing a PNG banner API based on the data i might get from your API as described here (you don't provide a PNG banner API yet, do you?).
Something simple like a PNG few 100 pixels in size, showing maybe player and servers count stats.

My problem is my servers chart returns an empty (no content) HTTP200 and its data is returning HTTP404 with a content JSON {"statusCode":404,"message":"Not Found"}.
What's wrong here?
Btw. the info JSON works fine (that's where i've got the IDs for the charts from).
The plugin is registered since >3 days and should at least contain some data.

Kind regards, Michel-0

EDIT: Also important for me to know: Is there a rate-limit how often i'm permitted to grab the data to not getting blocked?

Sorry!
Nevermind.
I just realized the necessary ID is NOT the chart id, instead it's the name of the chart.
The chart ID doesn't seem to be needed at all.
Works fine using the chart name. Thanks.