Latest stories

get_near_users

  • 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 be login"
}

  • Extra Description
Returns a list of all users in the vicinity of user's location

  • Sample
  • Url:
https://api.pantel.me/a/get_near_users?lat=25.7724603&long=12.4487439
  • Output:
                                {
    "result": [
        [
            {
                "deleted_account": false,
                "distance": 0,
                "image_path": null,
                "image_server_id": null,
                "last_active_time": 1546338258.6767805,
                "lat": 25.7724603,
                "long": 12.4487439,
                "name": "tytyty ytytyt",
                "user_id": 1002237,
                "user_name": null
            }
        ]
    ],
    "status": "success",
    "time": 1547538146.8073645
}