User Tools

Site Tools


icecondor:api

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
icecondor:api [2008/09/30 23:27] 64.122.198.69icecondor:api [2024/01/31 04:08] (current) – external edit 127.0.0.1
Line 35: Line 35:
 POST /locations POST /locations
 input: input:
-  id=<id> latitude=<x> longitude=<y> altitude=<ztime=<2008-09-05T22:00Z (ISO8601)HDOP=<Horizontal Dilution of Precisionradius=<in meters>+  client[version]="YYYYMMDD" 
 +  location[timestamp]=<2008-09-05T22:00+0000 (ISO8601)>  
 +  location[guid]=<openid url 
 +  location[latitude]=<float 
 +  location[longitude]=<float 
 +  location[altitude]=<altitude in meters> 
 +  location[accuracy]=<horizontal accuracy in meters> 
 +  location[velocity]=<speed in meters/s> 
 +  location[heading]=<direction in degrees>
   or   or
-  id=<id> next_to=<other id> radius=<in meters>+  location[guid]=<openid urllocation[next_to]=<other guidlocation[radius]=<in meters> (unimplemented)
 output: output:
 </code> </code>
Line 43: Line 51:
 === Search === === Search ===
 <code> <code>
-GET /locations/<guid>+GET /locations?id=<guid>
 input: input:
   search filters:   search filters:
-  radius=<radius> - return the last record for any ids in the radius +    radius=<radius> - return the last record for any ids in the radius 
-   lat=<lat> - center the search on this lat/long +    lat=<lat> - center the search on this lat/long 
-   long=<long> +    long=<long> 
-   alt=<alt> (optional)+    alt=<alt> (optional)
    or    or
-   id=<id> - center the search on the last location for this id+    id=<id> - center the search on the last location for this id 
 +    limit=<count>
 output: output:
   returns the most recent post.   returns the most recent post.
icecondor/api.1222817262.txt.gz · Last modified: 2024/01/31 04:08 (external edit)