API description
La documentation API est disponible en Anglais. Add dataURLhttps://www.intchart.com/api/{id}/files/{name}/data Headers
Parameters
Text data exampleRequesthttps://www.intchart.com/api/ABCDEFGH/files/File1/data HeaderAuthorization: Bearer TNz7QwucuGythvQa71vYMQY0gKfyBP82DQ5LAaS9 Data2016-06-09,320,240 Response{ "message":"File2 has sucessfully been updated.", "version":"1.0", "href":"https://www.intchart.com/api/ABCDEFGH/files/File2/data", "doc":"https://www.intchart.com/overview/api", "data characteristics": { "number of lines added":"1" }, "notice":"To use other characteristics, please specify parameters in the URL." } Json data exampleRequesthttps://www.intchart.com/api/ABCDEFGH/files/File3/data HeadersAuthorization: Bearer TNz7QwucuGythvQa71vYMQY0gKfyBP82DQ5LAaS9 Content-Type: application/json Accept: application/json Data[{"date":"2016-06-08","line1":304.98,"line2":222.23}] Response{ "message": "File3 has sucessfully been updated.", "version": "1.0", "href": "https://www.intchart.com/api/ABCDEFGH/files/File3/data", "doc": "https://www.intchart.com/overview/api", "data characteristics": { "number of lines added": "1" }, "notice": "To use other characteristics, please specify parameters in the URL." } |