Project

General

Profile

Actions

GeTS API » History » Revision 8

« Previous | Revision 8/13 (diff) | Next »
Никита Давыдовский, 11/05/2013 11:34 AM


GeTS API

API based on HTTP protocol and YMapsML language.

Points

Add point

Adds one or several points into database.

Request should be http://kappa.cs.karelia.ru/~davydovs/gets/addPoints.php

Request:

<request token="%token%" isPublic="%true/false%" channel="%channel%">
  <point>
    <!-- points in Yandex format -->
  </point>
<request>

Params:
  • token - user's token (see function login)
  • true/false - true if point should be in public space, otherwise - false
  • channel - the name of user's channel or name of category channel
  • list of points

Response:

<response>
%message%
%error%
<response>

Remove point

Load points

Loads points for circle defined by given radius, latitude and longitude.

Request should be http://kappa.cs.karelia.ru/~davydovs/gets/loadPoints.php

Request:

<request token="%token%" isPublic="%true/false%" radius="%radius%" latitude="%latitude%" longitude="%longitude%">
<request>

Response:

<response status="%status_code%">
   <!-- list of points in Yandex format -->
<response>

Update point

Tracks

Add track

Load track

Update track's info

Remove track

Category

addCategory

getCategory

Users

Registration

Authorization

Quit session

Remove user

Updated by Никита Давыдовский about 11 years ago · 8 revisions