API Access

Anything available?

I would like to pull some JSON to build a graph inside my own page. Possible?

Even on a higher paid tier?

Scott Cate

Tuesday, October 3, 2017




There's no formal API for S3stat data
yet, but you might have some success in tearing apart the raw JSON
files we use to build the reports. They have all the data you'd need,
in a nice machine-readable format. Here's an example, from our sample
reports:

https://s3.amazonaws.com/reports.s3stat.com/1750/img.twiddla.com_E2DT85AKR6LRWM/cfstats/day20171002.json

The files we use for the web reports are top-100 lists, so if you need
to go deeper we also save out .xl.json versions of every file, which
go to 10k entries for each metric we track. As in:

https://s3.amazonaws.com/reports.s3stat.com/1750/img.twiddla.com_E2DT85AKR6LRWM/cfstats/day20171002.xl.json

The URL formats for daily, weekly, and monthly data files should be
easy enough to figure out if you look at the network traffic to
generate one of your reports.

Jason Kester
Wednesday, October 4, 2017

[ reply to this topic ]   [ return to topic list ]

© 2018 Expat Software Back to Top