Developper's Manual

The SharePoz API lets you connect your application to SharePoz database of users GPS positions. The API provides a number of methods to store GPS positions and retrieve them.

This page gives you a quick overview of two methods.

Firstly, to get access to SharePoz API, send us an e-mail with the name of your application and a short description of its functionnalities.

Then, you may query the API using HTTP GET requests of http://www.sharepoz.com/api.php

Coordinates are in DD (Decimal Degree). It is identical as Google Maps coordinates for instance. Latitude must be comprised between -90.0 and 90.0 and longitude must be comprised between -180.0 and 180.0


Sending the user's GPS position

You application may request SharePoz to store a user's GPS position (i.e.: from an iPhone, a smartphone, a website... ). To do so, use the following parameters in your query :

  • d (do) = insert
  • lt (latitude) users's latitude. Must be comprised between -90 and 90
  • ln (longitude) user's longitude. Must be comprised between -180 and 180
  • al (altitude) user's altitude in meters. Must be comprised between -10 000 and 50 000
  • ac (accuracy) position accuracy in meters. Must be comprised between 0 and 10 000
  • k (key) secret key provided by the user for your application.

To get the secret key for a given user, the user must signup on SharePoz and give "write" access to your application. The secret key specific to the user and your application will be available on the user's account.


Retrieving the user's GPS position

Your application may request SharePoz to get a user's GPS position. To do so, use the following parameters in your query :

  • d (do) = select
  • k (key) secret key provided by the user for your application.

To get the secret key for a given user, the user must signup on SharePoz and give "read" access to your application. The secret key specific to the user and your application will be available on the user's account.


Work in progree

The API is still a work in progress. Any question, special request, drop us a line on