Skip to content

Commit 596f382

Browse files
author
ExpDev07
committed
changes documented in README
1 parent ed286ed commit 596f382

File tree

1 file changed

+1
-53
lines changed

1 file changed

+1
-53
lines changed

README.md

Lines changed: 1 addition & 53 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ All requests must be made to the base url: ``https://coronavirus-tracker-api.her
2626

2727
### Picking data source
2828

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``.
3030

3131
#### Available sources:
3232

@@ -142,58 +142,6 @@ Exclude timelines.
142142
GET /v2/locations?timelines=0
143143
```
144144

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-
197145
## Wrappers
198146

199147
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

Comments
 (0)