API methods | General Information |
countrycitystationdiscountroutes_dayroutesorder_neworder_confirmorder_cancelorder_ticket_returnorder_ticket_cancelorder_restoreorder_infoorder_stat | eclub API is an instrument that will enable your Site or application to interact with us in a real time-environment.
Thanks to it you can:
EncodingThe data are received and sent only in the UTF-8 encoding.VersionWith the course of time both a list of requests and their structures with a structure of answers may be changed.To ensure that a desired version of the API is used, you must submit the version in a request string. As a result the request must look like this: //eclub.com.ua/api/v1/json/ In case the version is not sent correctly, the answer will be returned in the format described in the latest stable version of the API — v1. Format of answerThe API accepts and returns the results of requests in the json format.In order to receive an answer from the server in a certain format, in the resource path after the section with the version of API you must specify the format of the answer: https://eclub.com.ua/api/v1/json/ If the format of the resource path is not correct, the response will be returned in the default format — JSON. AuthorizationsIn order to receive an answer from the server for which the API access key is required, you must specify this key in the resource path after the section with the response format: https://eclub.com.ua/api/v1/json/[API key]/The same key can be submitted in the parameter line, for example: https://eclub.com.ua/api/v1/json/?key=[API key] In the following examples, for convenience, the test key: test0api0key will be used. |