User Tools

Site Tools


getcountries

/pwg/getcountries

Returns the list of available NGF countries

Function: getcountries

parameters: no parameters required

Example: https://backend.prowaregolf.nl/api/getcountries/key/<your authrisation code here>

result:

{
 "getcountries":[
  {
   "countrycode":"2",
   "description":"Albanie"
  },
  {
   "countrycode":"3",
   "description":"Australie"
  },
  {
   "countrycode":"4",
   "description":"Duitsland"
  },
  {
   "countrycode":"5",
   "description":"Algerije"
  },
  {
   "countrycode":"7",
   "description":"Nederland"
  }
 ]
}
getcountries.txt · Last modified: 2015/10/21 08:36 (external edit)