Api doc


SDK's


Api Modules

location.locations

Returns a list of Locations.



Supported Methods:

GET
Params
  • token (Required): valid token
  • type: enum (1, 2)


Documentation

GET
Returns an array that contains all locations.
Level 5 is required

--

Parameters:

  1. "token": "xxxxxxx" //Valid token is required
  2. "type": accepted /*Location type (enum[1,2])
  3.   * 1: primary location
  4.   * 2: rest of the locations */

Example Request:

  1. {
  2. "module":"location.locations",
  3. "method":"GET",
  4. "request":{
  5. "type":"2"
  6. }
  7. }

Example Response:

  1. {
  2. "status":1,
  3. "data":[
  4. {
  5. "id":"79",
  6. "name":"ako ima boga",
  7. "country":"",
  8. "address":"",
  9. "lat":"",
  10. "lon":"",
  11. "type":"2",
  12. "map":"http:\/\/maps.google.com\/maps?f=q&source=s_q&hl=en&geocode=&q=%2C+",
  13. "directions":"http:\/\/maps.google.com\/maps?f=q&source=s_q&hl=en&geocode=&q=%2C+"
  14. },
  15. {
  16. "id":"100",
  17. "name":"wakatta",
  18. "country":"",
  19. "address":"",
  20. "lat":"",
  21. "lon":"",
  22. "type":"2",
  23. "map":"http:\/\/maps.google.com\/maps?f=q&source=s_q&hl=en&geocode=&q=%55+",
  24. "directions":"http:\/\/maps.google.com\/maps?f=q&source=s_q&hl=en&geocode=&q=%55+"
  25. }
  26. ],
  27. "token":"xxxxxxx"
  28. }

GET STARTED NOW

Free Trial. No Credit Card Required.

close
(e.g.+14158675309 or +1415-8675-309)

By clicking "Create my Humanity Account" you agree to the Terms of Service and Privacy Policy.

Have a promotional code?Click Here


LIVE CHAT DEMO REQUEST!

Please provide information below.

close
INSTANT DEMOSCHEDULED DEMO
Connect with a Humanity Team Member for a live demo right now!
 

RESELLER REQUEST!

Please provide information below.

close