Latest stories

update_location

  • Inputs
{
    "lat": "latitude: float numeric, has dependency to long",
    "long": "longitude: float numeric, has dependency to lat"
}

  • Errors
{
    "invalid_location": "lat or long or both invalid",
    "must_login": "user must login",
    "permission_denied": "user's change_visible_location status sets to 0"
}

  • Extra Description
Assign new location for user

  • Sample
  • Url:
https://api.pantel.me/a/update_location?lat=25.7724603&long=21.4487439
  • Output:
                                {
    "status": "success",
    "time": 1526966340.437936
}