A JavaScript implementation of the Parkrun API gathered from reverse-engineering the official app.
npm i parkrun.js
Or, for usage in a browser:
<script src="https://cdn.jsdelivr.net/npm/parkrun.js"></script>
Bleeding edge releases
Please note that these releases will have bugs, and are not meant for production use.
-
via npm:
npm i prouser123/parkrun.js
-
or for use within a browser:
<script src="https://parkrun.js.org/parkrun.browser.min.js"></script>
These are limitations with all services using the official parkrun API.
-
Freedom Runs can only be accessed for the current user
- 401:
Attempt to access details for AthleteId which does not match user AthleteId
- 401: