Skip to content

Commit ef735e2

Browse files
melange396krivard
andauthored
replace references to delphi.cmu.edu/epidata with api.delphi.cmu.edu/epidata (#1164)
* update code & documentation references to 'api.delphi.cmu.edu/epidata' --------- Co-authored-by: Kathryn M Mazaitis <krivard@cs.cmu.edu>
1 parent b5fbf70 commit ef735e2

38 files changed

+65
-65
lines changed

docs/api/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ Please note that our `endpoint` parameters were previously referenced as `source
7070

7171
# The API
7272

73-
The base URL is: https://delphi.cmu.edu/epidata/
73+
The base URL is: https://api.delphi.cmu.edu/epidata/
7474

7575
## Specifying Epiweeks, Dates, and Lists
7676

@@ -154,7 +154,7 @@ The parameters available for each source are documented in each linked source-sp
154154
# Example URLs
155155

156156
### FluView on 2015w01 (national)
157-
https://delphi.cmu.edu/epidata/fluview/?regions=nat&epiweeks=201501
157+
https://api.delphi.cmu.edu/epidata/fluview/?regions=nat&epiweeks=201501
158158

159159
```json
160160
{
@@ -184,7 +184,7 @@ https://delphi.cmu.edu/epidata/fluview/?regions=nat&epiweeks=201501
184184
```
185185

186186
### Wikipedia Access article "influenza" on 2020w01
187-
https://delphi.cmu.edu/epidata/wiki/?language=en&articles=influenza&epiweeks=202001
187+
https://api.delphi.cmu.edu/epidata/wiki/?language=en&articles=influenza&epiweeks=202001
188188

189189
```json
190190
{

docs/api/afhsb.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ General topics not specific to any particular endpoint are discussed in the
1919

2020
# The API
2121

22-
The base URL is: https://delphi.cmu.edu/epidata/afhsb/
22+
The base URL is: https://api.delphi.cmu.edu/epidata/afhsb/
2323

2424
See [this documentation](README.md) for details on specifying epiweeks, dates, and lists.
2525

docs/api/api_keys.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,21 +44,21 @@ there are several ways to use your key to authenticate your requests:
4444
The request parameter “api_key” can be used to pass the API key to the server.
4545
Example:
4646

47-
http://delphi.cmu.edu/epidata/covidcast/meta?api_key=your_api_key_here
47+
https://api.delphi.cmu.edu/epidata/covidcast/meta?api_key=your_api_key_here
4848

4949
### Via Basic Authentication
5050

5151
Another method is using the HTTP basic authorization header with the username
5252
"epidata" and the API key as the password. Example:
5353

5454
```
55-
curl -u 'epidata:your_api_key_here' https://delphi.cmu.edu/epidata/covidcast/meta
55+
curl -u 'epidata:your_api_key_here' https://api.delphi.cmu.edu/epidata/covidcast/meta
5656
```
5757

5858
### Via Bearer Token
5959

6060
Another method is providing the key in a bearer token header. Example:
6161

6262
```
63-
curl -H 'Authorization: Bearer your_api_key_here' https://delphi.cmu.edu/epidata/covidcast/meta
63+
curl -H 'Authorization: Bearer your_api_key_here' https://api.delphi.cmu.edu/epidata/covidcast/meta
6464
```

docs/api/cdc.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ General topics not specific to any particular endpoint are discussed in the
1919

2020
# The API
2121

22-
The base URL is: https://delphi.cmu.edu/epidata/cdc/
22+
The base URL is: https://api.delphi.cmu.edu/epidata/cdc/
2323

2424
See [this documentation](README.md) for details on specifying epiweeks, dates, and lists.
2525

docs/api/covid_hosp.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ dataset was published by HHS.
4646

4747
# The API
4848

49-
The base URL is: https://delphi.cmu.edu/epidata/covid_hosp_state_timeseries/
49+
The base URL is: https://api.delphi.cmu.edu/epidata/covid_hosp_state_timeseries/
5050

5151
See [this documentation](README.md) for details on specifying locations and dates.
5252

@@ -82,7 +82,7 @@ If `issues` is not specified, then the most recent issue is used by default.
8282
# Example URLs
8383

8484
### MA on 2020-05-10 (per most recent issue)
85-
https://delphi.cmu.edu/epidata/covid_hosp_state_timeseries/?states=MA&dates=20200510
85+
https://api.delphi.cmu.edu/epidata/covid_hosp_state_timeseries/?states=MA&dates=20200510
8686

8787
```json
8888
{

docs/api/covid_hosp_facility.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ HHS. New versions are expected to be published roughly weekly.
3737

3838
# The API
3939

40-
The base URL is: https://delphi.cmu.edu/epidata/covid_hosp_facility/
40+
The base URL is: https://api.delphi.cmu.edu/epidata/covid_hosp_facility/
4141

4242
See [this documentation](README.md) for details on specifying locations and dates.
4343

@@ -87,7 +87,7 @@ has been renamed here for clarity.
8787
# Example URLs
8888

8989
### Moses Taylor Hospital (Scranton, PA) on the first collection week of December 2020 (per most recent issue)
90-
https://delphi.cmu.edu/epidata/covid_hosp_facility/?hospital_pks=390119&collection_weeks=20201201-20201207
90+
https://api.delphi.cmu.edu/epidata/covid_hosp_facility/?hospital_pks=390119&collection_weeks=20201201-20201207
9191

9292
```json
9393
{

docs/api/covid_hosp_facility_lookup.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ This data source provides metadata about healthcare facilities in the US.
3030

3131
# The API
3232

33-
The base URL is: https://delphi.cmu.edu/epidata/covid_hosp_facility_lookup/
33+
The base URL is: https://api.delphi.cmu.edu/epidata/covid_hosp_facility_lookup/
3434

3535
See [this documentation](README.md) for details on specifying locations and dates.
3636

@@ -72,7 +72,7 @@ Use the `hospital_pk` value when querying
7272
# Example URLs
7373

7474
### Lookup facilities in the city of Southlake (TX)
75-
https://delphi.cmu.edu/epidata/covid_hosp_facility_lookup/?city=southlake
75+
https://api.delphi.cmu.edu/epidata/covid_hosp_facility_lookup/?city=southlake
7676

7777
```json
7878
{

docs/api/covidcast.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ sources and signals.
9292
## Constructing API Queries
9393

9494
The COVIDcast API is based on HTTP GET queries and returns data in JSON form.
95-
The base URL is `https://api.covidcast.cmu.edu/epidata/covidcast/`.
95+
The base URL is `https://api.delphi.cmu.edu/epidata/covidcast/`.
9696

9797
See [this documentation](README.md) for details on specifying epiweeks, dates,
9898
and lists.
@@ -207,7 +207,7 @@ The `fields` parameter can be used to limit which fields are included in each re
207207

208208
### Facebook Survey CLI on 2020-04-06 to 2010-04-10 (county 06001)
209209

210-
https://api.covidcast.cmu.edu/epidata/covidcast/?data_source=fb-survey&signal=smoothed_cli&time_type=day&geo_type=county&time_values=20200406-20200410&geo_value=06001
210+
https://api.delphi.cmu.edu/epidata/covidcast/?data_source=fb-survey&signal=smoothed_cli&time_type=day&geo_type=county&time_values=20200406-20200410&geo_value=06001
211211

212212
```json
213213
{
@@ -229,7 +229,7 @@ https://api.covidcast.cmu.edu/epidata/covidcast/?data_source=fb-survey&signal=sm
229229

230230
### Facebook Survey CLI on 2020-04-06 (all counties)
231231

232-
https://api.covidcast.cmu.edu/epidata/covidcast/?data_source=fb-survey&signal=smoothed_cli&time_type=day&geo_type=county&time_values=20200406&geo_value=*
232+
https://api.delphi.cmu.edu/epidata/covidcast/?data_source=fb-survey&signal=smoothed_cli&time_type=day&geo_type=county&time_values=20200406&geo_value=*
233233

234234
```json
235235
{

docs/api/covidcast_meta.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ geographic levels at which they are reported.
1313

1414
## The API
1515

16-
The base URL is: https://api.covidcast.cmu.edu/epidata/covidcast_meta/
16+
The base URL is: https://api.delphi.cmu.edu/epidata/covidcast_meta/
1717

1818
See [this documentation](README.md) for details on specifying epiweeks, dates, and lists.
1919

@@ -45,7 +45,7 @@ None required.
4545

4646
## Example URLs
4747

48-
https://api.covidcast.cmu.edu/epidata/covidcast_meta/
48+
https://api.delphi.cmu.edu/epidata/covidcast_meta/
4949

5050
```json
5151
{

docs/api/delphi.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ General topics not specific to any particular endpoint are discussed in the
1919

2020
# The API
2121

22-
The base URL is: https://delphi.cmu.edu/epidata/delphi/
22+
The base URL is: https://api.delphi.cmu.edu/epidata/delphi/
2323

2424
See [this documentation](README.md) for details on specifying epiweeks, dates, and lists.
2525

@@ -58,7 +58,7 @@ See [this documentation](README.md) for details on specifying epiweeks, dates, a
5858
# Example URLs
5959

6060
### Delphi on 2020w01 (EC)
61-
https://delphi.cmu.edu/epidata/delphi/?system=ec&epiweek=202001
61+
https://api.delphi.cmu.edu/epidata/delphi/?system=ec&epiweek=202001
6262

6363
```json
6464
{

0 commit comments

Comments
 (0)