File tree Expand file tree Collapse file tree 1 file changed +43
-0
lines changed
Expand file tree Collapse file tree 1 file changed +43
-0
lines changed Original file line number Diff line number Diff line change @@ -113,12 +113,55 @@ Exclude timelines.
113113GET /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
118158The data comes from the [2019 Novel Coronavirus (nCoV) Data Repository, provided
119159by JHU CCSE ](https://github.com/CSSEGISandData/2019-nCoV). It is
120160programmatically 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
124167These are the available API wrappers created by the community. They are not neccecarily maintained by any of this project's authors or contributors.
You can’t perform that action at this time.
0 commit comments