{"__v":4,"_id":"564b84b2cc472d0d00da9457","category":{"__v":7,"_id":"55773af907e7110d001043f0","pages":["564b84b2cc472d0d00da9457","564b84c0cc472d0d00da9459","564b84d44f06ef2b006b08b4","564b84eddda79a19000f266e","564b84f9e6c67c2f0038366a","564b850585e4e92b00fb4fa0","5668a50cee1dbf0d008f62dc"],"project":"55773a5ba042551900b002cb","version":"55773a5ba042551900b002ce","sync":{"url":"","isSync":false},"reference":true,"createdAt":"2015-06-09T19:14:01.892Z","from_sync":false,"order":8,"slug":"courses-api","title":"Courses API"},"parentDoc":null,"project":"55773a5ba042551900b002cb","user":"546d17e2eb9cfd1400dd4529","version":{"__v":17,"_id":"55773a5ba042551900b002ce","project":"55773a5ba042551900b002cb","createdAt":"2015-06-09T19:11:23.764Z","releaseDate":"2015-06-09T19:11:23.764Z","categories":["55773a5ca042551900b002cf","55773a6ce6063e0d00481380","55773ab007e7110d001043ec","55773abaa042551900b002d5","55773ac207e7110d001043ed","55773acb07e7110d001043ee","55773ad3a042551900b002d6","55773adce6063e0d00481383","55773ae4a042551900b002d7","55773af307e7110d001043ef","55773af907e7110d001043f0","55773b0407e7110d001043f1","563a4f7ad25e8919005f3f39","563a4fcaa19edf0d00972321","564a70dc4cd0521700523edf","564b797bcc472d0d00da9435","564b855b766d4923004e1fd1"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":true,"codename":"Motherboard","version_clean":"1.0.0","version":"1"},"updates":[],"next":{"pages":[],"description":""},"createdAt":"2015-11-17T19:49:06.270Z","link_external":false,"link_url":"","githubsync":"","sync_unique":"","hidden":false,"api":{"results":{"codes":[]},"settings":"","auth":"required","params":[],"url":""},"isReference":true,"order":0,"body":"The **Courses API** returns course information for all approved international Triathlon Union camps and courses.\n[block:image]\n{\n  \"images\": [\n    {\n      \"image\": [\n        \"https://files.readme.io/gJ1uNDkQSp6xXDH01AdA_3_567_425_s.jpg\",\n        \"3_567_425_s.jpg\",\n        \"567\",\n        \"425\",\n        \"#7e9bc5\",\n        \"\"\n      ],\n      \"caption\": \"Retrieve filterable course listings from the Courses API\"\n    }\n  ]\n}\n[/block]\n\n[block:api-header]\n{\n  \"type\": \"basic\",\n  \"title\": \"Basic Course Object\"\n}\n[/block]\nWhen using the course listings method or where courses are returned from different API calls a basic course object is returned which will always conform to the following specification. If further detail is required request the full course listing using the 'Retrieve Course Information' API call.\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"{\\n   \\\"course_id\\\":102953,\\n   \\\"course_title\\\":\\\"2016 Utrecht ITU Technical Officials Level 1 Seminar\\\",\\n   \\\"course_edit_date\\\":\\\"2015-12-23T06:46:23+00:00\\\",\\n   \\\"course_slug\\\":\\\"2016_utrecht_itu_technical_officials_level_1_seminar\\\",\\n   \\\"course_venue\\\":\\\"Utrecht\\\",\\n   \\\"course_language\\\":\\\"English\\\",\\n   \\\"course_country_name\\\":\\\"Netherlands\\\",\\n   \\\"course_latitude\\\":52.09074,\\n   \\\"course_longitude\\\":5.12142,\\n   \\\"course_date\\\":\\\"2016-04-09\\\",\\n   \\\"course_finish_date\\\":null,\\n   \\\"course_country_isoa2\\\":\\\"NL\\\",\\n   \\\"course_noc\\\":\\\"NED\\\",\\n   \\\"course_region_id\\\":10,\\n   \\\"course_country_id\\\":230,\\n   \\\"course_region_name\\\":\\\"Europe\\\",\\n   \\\"course_categories\\\":[\\n      {\\n         \\\"cat_name\\\":\\\"Technical Officials\\\",\\n         \\\"cat_id\\\":236,\\n         \\\"cat_parent_id\\\":0\\n      },\\n      {\\n         \\\"cat_name\\\":\\\"TO Level 1\\\",\\n         \\\"cat_id\\\":239,\\n         \\\"cat_parent_id\\\":236\\n      }\\n   ],\\n   \\\"course_flag\\\":\\\"https:\\\\/\\\\/f9ca11ef49c28681fc01-0acbf57e00c47a50e70a1acb89e86c89.ssl.cf1.rackcdn.com\\\\/images\\\\/icons\\\\/nl.png\\\",\\n   \\\"course_listing\\\":\\\"http:\\\\/\\\\/www.triathlon.org\\\\/development\\\\/course\\\\/2016_utrecht_itu_technical_officials_level_1_seminar\\\",\\n   \\\"course_api_listing\\\":\\\"https:\\\\/\\\\/api.triathlon.org\\\\/v1\\\\/v1\\\\/federations\\\\/102953\\\"\\n}\",\n      \"language\": \"json\"\n    }\n  ]\n}\n[/block]","excerpt":"","slug":"courses-api-overview","type":"basic","title":"Courses API Overview"}

Courses API Overview


The **Courses API** returns course information for all approved international Triathlon Union camps and courses. [block:image] { "images": [ { "image": [ "https://files.readme.io/gJ1uNDkQSp6xXDH01AdA_3_567_425_s.jpg", "3_567_425_s.jpg", "567", "425", "#7e9bc5", "" ], "caption": "Retrieve filterable course listings from the Courses API" } ] } [/block] [block:api-header] { "type": "basic", "title": "Basic Course Object" } [/block] When using the course listings method or where courses are returned from different API calls a basic course object is returned which will always conform to the following specification. If further detail is required request the full course listing using the 'Retrieve Course Information' API call. [block:code] { "codes": [ { "code": "{\n \"course_id\":102953,\n \"course_title\":\"2016 Utrecht ITU Technical Officials Level 1 Seminar\",\n \"course_edit_date\":\"2015-12-23T06:46:23+00:00\",\n \"course_slug\":\"2016_utrecht_itu_technical_officials_level_1_seminar\",\n \"course_venue\":\"Utrecht\",\n \"course_language\":\"English\",\n \"course_country_name\":\"Netherlands\",\n \"course_latitude\":52.09074,\n \"course_longitude\":5.12142,\n \"course_date\":\"2016-04-09\",\n \"course_finish_date\":null,\n \"course_country_isoa2\":\"NL\",\n \"course_noc\":\"NED\",\n \"course_region_id\":10,\n \"course_country_id\":230,\n \"course_region_name\":\"Europe\",\n \"course_categories\":[\n {\n \"cat_name\":\"Technical Officials\",\n \"cat_id\":236,\n \"cat_parent_id\":0\n },\n {\n \"cat_name\":\"TO Level 1\",\n \"cat_id\":239,\n \"cat_parent_id\":236\n }\n ],\n \"course_flag\":\"https:\\/\\/f9ca11ef49c28681fc01-0acbf57e00c47a50e70a1acb89e86c89.ssl.cf1.rackcdn.com\\/images\\/icons\\/nl.png\",\n \"course_listing\":\"http:\\/\\/www.triathlon.org\\/development\\/course\\/2016_utrecht_itu_technical_officials_level_1_seminar\",\n \"course_api_listing\":\"https:\\/\\/api.triathlon.org\\/v1\\/v1\\/federations\\/102953\"\n}", "language": "json" } ] } [/block]