Composing calls to the API
For now, check out the API methods page for more details.
You can also try the following cURL command:
chart.json
{
"data": [
{
"title": "Fruits in the basket",
"x": ["apples", "bananas", "pears"],
"y": [20, 14, 23],
"type": "bar"
}
]
}
terminal
$ curl https://api.graphing.tools/v1/chart \
-X POST \
-H "Authorization: Bearer $token" \
-H "Content-Type: application/json" \
-d "@chart.json"
info
More info to come...