User Tools

Site Tools


api_graphs

API - Graphs

About

You can get a list of your graphs and generate graph image with many parameters.

List Of Graphs

Here you can see the example of GET request that returns list of all graphs, that are available for specific server:

www.bijk.com/publicapi/getGraphsIds/key/your_api_key/sid/your_server_id

You receive these parameters about every graph:

  • gid - graph ID
  • title - title of graph

Generate graph

You can generate graph as an image with GET request on this url:

www.bijk.com/publicapi/generateGraph/key/your_api_key/sid/your_server_id/gid/requested_graph_id

GET request must contain these parameters:

  • sid - server ID
  • gid - graph ID
  • key - your API key

You can add these optional parameters:

  • epoch - graph time range in seconds (start is defined from endTime - epoch), default 86400
  • endTime - end of time range as unix timestamp, default 0 - actual time
  • width - width of graph in pixels, default 600
  • height - height of graph in pixels, default 300
  • limit - with this parameter you can set maximum value on Y axe, default 0 - no limit
  • cache - cache graph for better performance (possible values: 0,1), default 1
api_graphs.txt · Last modified: 2011/04/28 15:33 by woky