|
2 | 2 |
|
3 | 3 | This is the documentation of the API for accessing the Delphi's COVID-19
|
4 | 4 | Surveillance Streams (`covidcast`) endpoint of
|
5 |
| -[Delphi](https://delphi.cmu.edu/)'s epidemiological data. |
6 |
| - |
7 |
| -General topics not specific to any particular data source are discussed in the |
8 |
| -[API overview](README.md). Such topics include: |
9 |
| -[contributing](README.md#contributing), [citing](README.md#citing), and |
10 |
| -[data licensing](README.md#data-licensing). |
| 5 | +[Delphi](https://delphi.cmu.edu/)'s epidemiological data. This API provides the |
| 6 | +data used in our public [COVIDcast map](https://covidcast.cmu.edu/), and |
| 7 | +includes other data sources and signals not currently shown on the map. The API |
| 8 | +allows users to select specific signals and download data for selected |
| 9 | +geographical areas---counties, states, metropolitan statistical areas, and other |
| 10 | +divisions. |
| 11 | + |
| 12 | +This data is freely available under our [data |
| 13 | +licensing](README.md#data-licensing) terms; we encourage academic users to |
| 14 | +[cite](README.md#citing) the data if they use it in any publications. Further |
| 15 | +documentation on Delphi's APIs is available in the [API overview](README.md). |
| 16 | + |
| 17 | +**For users:** Delphi operates a [mailing |
| 18 | +list](https://lists.andrew.cmu.edu/mailman/listinfo/delphi-covidcast-api) for |
| 19 | +users of the COVIDcast API. We will use the list to announce API changes, |
| 20 | +corrections to data, and new features; API users may also use the mailing list |
| 21 | +to ask general questions about its use. If you use the API, we strongly |
| 22 | +encourage you to |
| 23 | +[subscribe](https://lists.andrew.cmu.edu/mailman/listinfo/delphi-covidcast-api). |
11 | 24 |
|
12 | 25 | ## The API
|
13 | 26 |
|
14 |
| -The base URL is: https://delphi.cmu.edu/epidata/api.php |
| 27 | +The COVIDcast API is based on HTTP GET queries and returns data in JSON form. |
| 28 | +The base URL is https://delphi.cmu.edu/epidata/api.php. |
| 29 | + |
| 30 | +Several [API clients are available](#api-clients) for common programming |
| 31 | +languages, so you do not need to construct API calls yourself. |
15 | 32 |
|
16 | 33 | See [this documentation](README.md) for details on specifying epiweeks, dates, and lists.
|
17 | 34 |
|
@@ -217,7 +234,7 @@ https://delphi.cmu.edu/epidata/api.php?source=covidcast&data_source=fb-survey&si
|
217 | 234 |
|
218 | 235 | https://delphi.cmu.edu/epidata/api.php?source=covidcast&data_source=fb-survey&signal=raw_cli&time_type=day&geo_type=county&time_values=20200406&geo_value=*
|
219 | 236 |
|
220 |
| -## Code Samples |
| 237 | +## API Clients |
221 | 238 |
|
222 | 239 | Libraries are available for
|
223 | 240 | [CoffeeScript](https://github.com/cmu-delphi/delphi-epidata/blob/master/src/client/delphi_epidata.coffee),
|
@@ -262,7 +279,9 @@ Optionally install the [package from PyPI](https://pypi.org/project/delphi-epida
|
262 | 279 | pip install delphi-epidata
|
263 | 280 | ````
|
264 | 281 |
|
265 |
| -Otherwise, place `delphi_epidata.py` from this repo next to your python script. |
| 282 | +Otherwise, place |
| 283 | +[`delphi_epidata.py`](https://github.com/cmu-delphi/delphi-epidata/blob/master/src/client/delphi_epidata.py) |
| 284 | +in the same directory as your Python script. |
266 | 285 |
|
267 | 286 | ````python
|
268 | 287 | # Import
|
|
0 commit comments