Skip to content

ThunderID/ThunderWorld

Repository files navigation

ThunderWorld

Store world location

Restful API

List

  GET /?page=0&per_page=10&level=country
  
  description:
    page      : current page
    per_page  : count of result returned
    level     : level of location (continent, country, province, city, suburb)
 
  return: jsend

Show

  GET /show/id
  
  description:
    id        : id of location

  return: jsend

Store

  POST /{id}
  
  description:
    id        : id to edit (optional)
    name      : location name
    level     : level of location
    longitude : double longitude position
    latitude  : double latitude position
    
  return: jsend

Delete

  Get /delete/id
  
  description:
    id        : id of location to be deleted
  
  return: jsend

Releases

No releases published

Packages

No packages published

Languages