You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+1-53Lines changed: 1 addition & 53 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -26,7 +26,7 @@ All requests must be made to the base url: ``https://coronavirus-tracker-api.her
26
26
27
27
### Picking data source
28
28
29
-
We provide multiple data-sources you can pick from, simply add the query parameter ``?source=your_source_of_choice`` to your requests. JHU will be used as a default if you don't provide one.
29
+
We provide multiple data-sources you can pick from, simply add the query parameter ``?source=your_source_of_choice`` to your requests. JHU will be used as a default if you don't provide one. Dynamically retrieve available sources at ``/v2/sources``.
30
30
31
31
#### Available sources:
32
32
@@ -142,58 +142,6 @@ Exclude timelines.
142
142
GET /v2/locations?timelines=0
143
143
```
144
144
145
-
### Getting US per county information.
146
-
```http
147
-
GET /v2/locations?source=csbs
148
-
```
149
-
```json
150
-
{
151
-
"latest": {
152
-
"confirmed": 7596,
153
-
"deaths": 43,
154
-
"recovered": 0
155
-
},
156
-
"locations": [
157
-
{
158
-
"id": 0,
159
-
"country": "US",
160
-
"country_code": "US",
161
-
"province": "New York",
162
-
"state": "New York",
163
-
"county": "New York",
164
-
"last_updated": "2020-03-21T14:00:00Z",
165
-
"coordinates": {
166
-
"latitude": 40.71455,
167
-
"longitude": -74.00714
168
-
},
169
-
"latest": {
170
-
"confirmed": 6211,
171
-
"deaths": 43,
172
-
"recovered": 0
173
-
}
174
-
},
175
-
{
176
-
"id": 1,
177
-
"country": "US",
178
-
"country_code": "US",
179
-
"province": "New York",
180
-
"state": "New York",
181
-
"county": "Westchester",
182
-
"last_updated": "2020-03-21T14:00:00Z",
183
-
"coordinates": {
184
-
"latitude": 41.16319759,
185
-
"longitude": -73.7560629
186
-
},
187
-
"latest": {
188
-
"confirmed": 1385,
189
-
"deaths": 0,
190
-
"recovered": 0
191
-
},
192
-
}
193
-
]
194
-
}
195
-
```
196
-
197
145
## Wrappers
198
146
199
147
These are the available API wrappers created by the community. They are not necessarily maintained by any of this project's authors or contributors.
0 commit comments