coronavirus-dashboard-api-javascript-sdk
coronavirus-dashboard-api-javascript-sdk copied to clipboard
Coronavirus (COVID-19) in the UK - API Service SDK for JavaScript
This fixes publichealthengland/coronavirus-dashboard-api-javascript-sdk#8 by leaving the getData while loop if the current page retrieved from the API has the same records as the total retrievable. Avoiding infinite loop caused by...
When making a request that results in fewer results than contained in a single response of the API, request will be repeated infinitely. See example below: ```ts const structure =...
This fixes 2 issues ## Fix for issue #4 Have increased the version of axios from 0.19.2 to 0.21.0 to fix an axios bug that was causing the getJSON call...
While attempting to use this in Node (14.13.1 FWIW), I get the following error... ``` (node:92897) UnhandledPromiseRejectionWarning: Error: unexpected end of file at Zlib.zlibOnError [as onerror] (zlib.js:180:17) ``` ...with the...
Hi, Your example does not work in a node.js app. The following error is generated: const api = new Cov19API({ ^ TypeError: Cov19API is not a constructor I think it...
The example structure parameters are invalid, resulting in a 404. You should be using newDeaths28DaysByDeathDate and cumDeaths28DaysByDeathDate