Login

Course

Back to Instructions

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

You can calculate rating by the formula:

Rating = (RatingValue2 - RatingValue1)*(Result - RatingResult1)/(RatingResult2 - RatingResult1)+RatingValue1

Input parameters:

1. id

Output:

  • course: {
    • ID: "14800",

    • ParentID: "14799",

    • Name: "18 korvi",

    • Fullname: "Kurna DiscGolfPark → 18 korvi",

    • Type: "2",

    • CountryCode: "EE",

    • Area: "Harju Maakond",

    • City: "Rae",

    • Location: null,

    • Lat: "59.338635189294735",

    • Lng: "24.843376287954044",

    • Enddate: null,

    • RatingValue1: "845.92",

    • RatingResult1: "56.41",

    • RatingValue2: "1000",

    • RatingResult2: "43.57"

    },
  • baskets: [
    • {
      • Number: "1",

      • NumberAlt: null,

      • Par: "3",

      • Length: "97",

      • Unit: "m",

      • TeeLat: "59.338603552693",

      • TeeLng: "24.843424893915",

      • BasketLat: "59.337779254973",

      • BasketLng: "24.843958318233"

      },
    • {
      • Number: "2",

      • NumberAlt: null,

      • Par: "3",

      • Length: "75",

      • Unit: "m",

      • TeeLat: "59.337573423314",

      • TeeLng: "24.844315796646",

      • BasketLat: "59.338029914724",

      • BasketLng: "24.845296405256"

      },
    • {
      • Number: "3",

      • NumberAlt: null,

      • Par: "3",

      • Length: "60",

      • Unit: "m",

      • TeeLat: "59.337844199617",

      • TeeLng: "24.845141225053",

      • BasketLat: "59.337593565385",

      • BasketLng: "24.846074336703"

      },
    • {
      • Number: "4",

      • NumberAlt: null,

      • Par: "4",

      • Length: "121",

      • Unit: "m",

      • TeeLat: "59.337417453599",

      • TeeLng: "24.846180528402",

      • BasketLat: "59.337256436019",

      • BasketLng: "24.847904529478"

      },
    • {
      • Number: "5",

      • NumberAlt: null,

      • Par: "3",

      • Length: "94",

      • Unit: "m",

      • TeeLat: "59.337395376028",

      • TeeLng: "24.848694524196",

      • BasketLat: "59.338123437486",

      • BasketLng: "24.84953312533"

      },
    • {
      • Number: "6",

      • NumberAlt: null,

      • Par: "3",

      • Length: "80",

      • Unit: "m",

      • TeeLat: "59.338237926576",

      • TeeLng: "24.849412405253",

      • BasketLat: "59.338846707879",

      • BasketLng: "24.850167401396"

      },
    • {
      • Number: "7",

      • NumberAlt: null,

      • Par: "3",

      • Length: "76",

      • Unit: "m",

      • TeeLat: "59.33897206889",

      • TeeLng: "24.849997670885",

      • BasketLat: "59.339357313631",

      • BasketLng: "24.848900682885"

      },
    • {
      • Number: "8",

      • NumberAlt: null,

      • Par: "3",

      • Length: "119",

      • Unit: "m",

      • TeeLat: "59.339423050857",

      • TeeLng: "24.849088987297",

      • BasketLat: "59.340295458374",

      • BasketLng: "24.847882200336"

      },
    • {
      • Number: "9",

      • NumberAlt: null,

      • Par: "3",

      • Length: "70",

      • Unit: "m",

      • TeeLat: "59.34071540282",

      • TeeLng: "24.847431625535",

      • BasketLat: "59.340127454337",

      • BasketLng: "24.847368847685"

      },
    • {
      • Number: "10",

      • NumberAlt: null,

      • Par: "3",

      • Length: "95",

      • Unit: "m",

      • TeeLat: "59.340289139839",

      • TeeLng: "24.847210866455",

      • BasketLat: "59.340054215384",

      • BasketLng: "24.845603132846"

      },
    • {
      • Number: "11",

      • NumberAlt: null,

      • Par: "3",

      • Length: "66",

      • Unit: "m",

      • TeeLat: "59.339867587367",

      • TeeLng: "24.844953459445",

      • BasketLat: "59.339473430312",

      • BasketLng: "24.845831490682"

      },
    • {
      • Number: "12",

      • NumberAlt: null,

      • Par: "3",

      • Length: "78",

      • Unit: "m",

      • TeeLat: "59.339291890525",

      • TeeLng: "24.846379304779",

      • BasketLat: "59.33953703022",

      • BasketLng: "24.847671564932"

      },
    • {
      • Number: "13",

      • NumberAlt: null,

      • Par: "3",

      • Length: "78",

      • Unit: "m",

      • TeeLat: "59.3395364094",

      • TeeLng: "24.848295855493",

      • BasketLat: "59.339067882688",

      • BasketLng: "24.847332262543"

      },
    • {
      • Number: "14",

      • NumberAlt: null,

      • Par: "3",

      • Length: "69",

      • Unit: "m",

      • TeeLat: "59.338872760677",

      • TeeLng: "24.848219346093",

      • BasketLat: "59.338248225977",

      • BasketLng: "24.848225639274"

      },
    • {
      • Number: "15",

      • NumberAlt: null,

      • Par: "3",

      • Length: "83",

      • Unit: "m",

      • TeeLat: "59.338141467891",

      • TeeLng: "24.847804850842",

      • BasketLat: "59.338716814486",

      • BasketLng: "24.846873952612"

      },
    • {
      • Number: "16",

      • NumberAlt: null,

      • Par: "3",

      • Length: "99",

      • Unit: "m",

      • TeeLat: "59.33880592448",

      • TeeLng: "24.846154656157",

      • BasketLat: "59.338114551813",

      • BasketLng: "24.847245779103"

      },
    • {
      • Number: "17",

      • NumberAlt: null,

      • Par: "3",

      • Length: "67",

      • Unit: "m",

      • TeeLat: "59.337918384715",

      • TeeLng: "24.848111940661",

      • BasketLat: "59.337659809509",

      • BasketLng: "24.847042511313"

      },
    • {
      • Number: "18",

      • NumberAlt: null,

      • Par: "3",

      • Length: "101",

      • Unit: "m",

      • TeeLat: "59.33773358273",

      • TeeLng: "24.846690839629",

      • BasketLat: "59.338424130043",

      • BasketLng: "24.845524976164"

      }
    ],
  • Errors: [ ]