Login

Course

Back to Instructions

Get a course information. Example: https://discgolfmetrix.com/api.php?content=course&id=11737 

Input parameters:

1. id

Output:

{"course":
      {"ID":"11737",
       "ParentID":null,
       "Name":"Smedby DiscGolfPark",
       "Fullname":"Smedby DiscGolfPark",
       "Type":"2",
       "CountryCode":"SE",
       "Area":"",
       "City":"",
       "Location":null,
       "Lat":"59.508551517419974",
       "Lng":"17.910584768433182",
       "Enddate":null},
"baskets":   
[{"Number":"1","NumberAlt":null,"Par":"3","Length":null,"Unit":"m","TeeLat":"59.50871583","TeeLng":"17.911079989999962","BasketLat":"59.50902242","BasketLng":"17.910956859999942"},
{"Number":"2","NumberAlt":null,"Par":"3","Length":null,"Unit":"m","TeeLat":"59.50921011","TeeLng":"17.91123815000003","BasketLat":"59.50922183","BasketLng":"17.910249829999998"},
{"Number":"3","NumberAlt":null,"Par":"3","Length":null,"Unit":"m","TeeLat":"59.50997768","TeeLng":"17.90927806000002","BasketLat":"59.51040313","BasketLng":"17.909503930000028"},
{"Number":"4","NumberAlt":null,"Par":"3","Length":null,"Unit":"m","TeeLat":"59.51048561","TeeLng":"17.909694899999977","BasketLat":"59.51083004","BasketLng":"17.909170180000046"},
{"Number":"5","NumberAlt":null,"Par":"3","Length":null,"Unit":"m","TeeLat":"59.51089585","TeeLng":"17.909359649999942","BasketLat":"59.51092918","BasketLng":"17.910467369999992"},
{"Number":"6","NumberAlt":null,"Par":"3","Length":null,"Unit":"m","TeeLat":"59.51107338","TeeLng":"17.910025819999987","BasketLat":"59.5110956","BasketLng":"17.909198609999976"},
{"Number":"7","NumberAlt":null,"Par":"3","Length":null,"Unit":"m","TeeLat":"59.51121013","TeeLng":"17.909040290000007","BasketLat":"59.51058231","BasketLng":"17.90832967999995"},
{"Number":"8","NumberAlt":null,"Par":"3","Length":null,"Unit":"m","TeeLat":"59.51036067","TeeLng":"17.90840823999997","BasketLat":"59.50984598","BasketLng":"17.90890631000002"},
{"Number":"9","NumberAlt":null,"Par":"3","Length":null,"Unit":"m","TeeLat":"59.50906929","TeeLng":"17.909778120000055","BasketLat":"59.50894014","BasketLng":"17.910768109999935"}],
"Errors":[]}