Skip to content

Commit e0bbf1a

Browse files
committed
readme updated
1 parent 814d107 commit e0bbf1a

File tree

1 file changed

+43
-0
lines changed

1 file changed

+43
-0
lines changed

README.md

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,12 +113,55 @@ Exclude timelines.
113113
GET /v2/locations?timelines=0
114114
```
115115

116+
### Getting US per county information.
117+
```http
118+
GET /v2/locations?source=csbs
119+
```
120+
```json
121+
{
122+
"Iowa":[
123+
{
124+
"coordinates":{
125+
"latitude":41.67149574,
126+
"longitude":-91.58805417
127+
},
128+
"county":"Johnson",
129+
"latest":{
130+
"confirmed":22,
131+
"death":0,
132+
"new":0
133+
}
134+
},
135+
{
136+
"coordinates":{
137+
"latitude":41.68541161,
138+
"longitude":-93.57344237
139+
},
140+
"county":"Polk",
141+
"latest":{
142+
"confirmed":6,
143+
"death":0,
144+
"new":0
145+
}
146+
},
147+
...
148+
...
149+
}
150+
```
151+
Additionally, you can also filter by state.
152+
```http
153+
GET /v2/locations?source=usbs&state=Iowa
154+
```
155+
116156
## Data
117157

118158
The data comes from the [2019 Novel Coronavirus (nCoV) Data Repository, provided
119159
by JHU CCSE](https://github.com/CSSEGISandData/2019-nCoV). It is
120160
programmatically retrieved, re-formatted and stored in the cache for one hour.
121161

162+
US County data comes from CSBS (https://www.csbs.org/information-covid-19-coronavirus)
163+
It is programmatically retrieved, re-formatted and stored in the cache for one hour.
164+
122165
## Wrappers
123166

124167
These are the available API wrappers created by the community. They are not neccecarily maintained by any of this project's authors or contributors.

0 commit comments

Comments
 (0)