vineri, 20 octombrie 2017
API v2 - Seranking
All methods are accessed via: http://online.seranking.com/structure/clientapi/v2.php. Any incoming and outgoing data is in UTF-8 encoding. All API calls should be made with HTTP, if no specified, request method is GET. The result of calling any method is the array in JSON format. While sending data by POST request, all the data should be JSON encoded string in 'data' element of POST body, i.e. data == {"param1":"value1","param2":"value2"} In each method, except the login, must be passed access-token (GET-parameter - "token"), that received upon a successful login. While calling any method you should specify its name in GET-parameter "method". The order of parameters doesn't matter. If call to method was unsuccessfull, HTTP response code won't be equal 200 (for example, 403 with the wrong login or password) + you will get the response ({"message": "description"}). Here is the description of each method: 
Abonați-vă la:
Postare comentarii (Atom)
Niciun comentariu:
Trimiteți un comentariu