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 <[email protected]>
1 parent b5fbf70 commit ef735e2

38 files changed

+65
-65
lines changed

docs/api/README.md

+3-3
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

+1-1
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

+3-3
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

+1-1
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

+2-2
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

+2-2
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

+2-2
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

+3-3
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

+2-2
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

+2-2
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
{

docs/api/dengue_nowcast.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ General topics not specific to any particular endpoint are discussed in the
2020

2121
# The API
2222

23-
The base URL is: https://delphi.cmu.edu/epidata/dengue_nowcast/
23+
The base URL is: https://api.delphi.cmu.edu/epidata/dengue_nowcast/
2424

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

docs/api/dengue_sensors.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ General topics not specific to any particular endpoint are discussed in the
2020

2121
# The API
2222

23-
The base URL is: https://delphi.cmu.edu/epidata/dengue_sensors/
23+
The base URL is: https://api.delphi.cmu.edu/epidata/dengue_sensors/
2424

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

docs/api/ecdc_ili.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ ECDC ILI data from ECDC website. ... <!-- TODO -->
1919

2020
# The API
2121

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

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

docs/api/flusurv.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ See also:
2626

2727
# The API
2828

29-
The base URL is: https://delphi.cmu.edu/epidata/flusurv/
29+
The base URL is: https://api.delphi.cmu.edu/epidata/flusurv/
3030

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

@@ -79,7 +79,7 @@ Notes:
7979
# Example URLs
8080

8181
### FluSurv on 2020w01 (CA)
82-
https://delphi.cmu.edu/epidata/flusurv/?locations=ca&epiweeks=202001
82+
https://api.delphi.cmu.edu/epidata/flusurv/?locations=ca&epiweeks=202001
8383

8484
```json
8585
{

docs/api/fluview.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ Influenza-like illness (ILI) from U.S. Outpatient Influenza-like Illness Surveil
2525

2626
# The API
2727

28-
The base URL is: https://delphi.cmu.edu/epidata/fluview/
28+
The base URL is: https://api.delphi.cmu.edu/epidata/fluview/
2929

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

@@ -80,7 +80,7 @@ Notes:
8080
# Example URLs
8181

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

8585
```json
8686
{
@@ -111,11 +111,11 @@ https://delphi.cmu.edu/epidata/fluview/?regions=nat&epiweeks=201501
111111

112112
### FluView in HHS Regions 4 and 6 for the 2014/2015 flu season
113113

114-
https://delphi.cmu.edu/epidata/fluview/?regions=hhs4,hhs6&epiweeks=201440-201520
114+
https://api.delphi.cmu.edu/epidata/fluview/?regions=hhs4,hhs6&epiweeks=201440-201520
115115

116116
### Updates to FluView on 2014w53, reported from 2015w01 through 2015w10 (national)
117117

118-
https://delphi.cmu.edu/epidata/fluview/?regions=nat&epiweeks=201453&issues=201501-201510
118+
https://api.delphi.cmu.edu/epidata/fluview/?regions=nat&epiweeks=201453&issues=201501-201510
119119

120120

121121
# Code Samples

docs/api/fluview_clinical.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ General topics not specific to any particular endpoint are discussed in the
2020

2121
# The API
2222

23-
The base URL is: https://delphi.cmu.edu/epidata/fluview_clinical/
23+
The base URL is: https://api.delphi.cmu.edu/epidata/fluview_clinical/
2424

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

@@ -66,7 +66,7 @@ If neither is specified, the current issues are used.
6666
# Example URLs
6767

6868
### FluView Clinical on 2020w01 (national)
69-
https://delphi.cmu.edu/epidata/fluview_clinical/?regions=nat&epiweeks=202001
69+
https://api.delphi.cmu.edu/epidata/fluview_clinical/?regions=nat&epiweeks=202001
7070

7171
```json
7272
{

docs/api/fluview_meta.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Returns information about the [`fluview` endpoint](fluview.md).
2020

2121
# The API
2222

23-
The base URL is: https://delphi.cmu.edu/epidata/fluview_meta/
23+
The base URL is: https://api.delphi.cmu.edu/epidata/fluview_meta/
2424

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

@@ -42,7 +42,7 @@ There are no parameters for this endpoint.
4242
# Example URLs
4343

4444
### FluView Metadata
45-
https://delphi.cmu.edu/epidata/fluview_meta/
45+
https://api.delphi.cmu.edu/epidata/fluview_meta/
4646

4747
```json
4848
{

docs/api/gft.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Estimate of influenza activity based on volume of certain search queries. Google
2323

2424
# The API
2525

26-
The base URL is: https://delphi.cmu.edu/epidata/gft/
26+
The base URL is: https://api.delphi.cmu.edu/epidata/gft/
2727

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

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

5252
### Google Flu Trends on 2015w01 (national)
53-
https://delphi.cmu.edu/epidata/gft/?locations=nat&epiweeks=201501
53+
https://api.delphi.cmu.edu/epidata/gft/?locations=nat&epiweeks=201501
5454

5555
```json
5656
{

docs/api/ght.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Estimate of influenza activity based on volume of certain search queries. ... <!
1919

2020
# The API
2121

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

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

docs/api/kcdc_ili.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ KCDC ILI data from KCDC website. ... <!-- TODO -->
1818

1919
# The API
2020

21-
The base URL is: https://delphi.cmu.edu/epidata/kcdc_ili/
21+
The base URL is: https://api.delphi.cmu.edu/epidata/kcdc_ili/
2222

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

docs/api/meta.md

+2-2
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/meta/
22+
The base URL is: https://api.delphi.cmu.edu/epidata/meta/
2323

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

@@ -38,7 +38,7 @@ None.
3838

3939
# Example URLs
4040

41-
https://delphi.cmu.edu/epidata/meta/
41+
https://api.delphi.cmu.edu/epidata/meta/
4242

4343
```json
4444
{

docs/api/meta_afhsb.md

+1-1
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/meta_afhsb/
22+
The base URL is: https://api.delphi.cmu.edu/epidata/meta_afhsb/
2323

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

docs/api/meta_norostat.md

+1-1
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/meta_norostat/
22+
The base URL is: https://api.delphi.cmu.edu/epidata/meta_norostat/
2323

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

docs/api/nidss_dengue.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Counts of confirmed dengue cases from Taiwan's NIDSS.
2323

2424
# The API
2525

26-
The base URL is: https://delphi.cmu.edu/epidata/nidss_dengue/
26+
The base URL is: https://api.delphi.cmu.edu/epidata/nidss_dengue/
2727

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

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

5252
### NIDSS Dengue on 2015w01 (nationwide)
53-
https://delphi.cmu.edu/epidata/nidss_dengue/?locations=nationwide&epiweeks=201501
53+
https://api.delphi.cmu.edu/epidata/nidss_dengue/?locations=nationwide&epiweeks=201501
5454

5555
```json
5656
{

0 commit comments

Comments
 (0)