You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -15,10 +23,10 @@ The following samples show how to import the library and fetch Delphi's COVID-19
15
23
Surveillance Streams from Facebook Survey CLI for county 06001 and days
16
24
`20200401` and `20200405-20200414` (11 days total).
17
25
18
-
For anyone looking for COVIDCast data, please visit our [COVIDCast Libraries](covidcast_clients.md).
19
-
20
26
### JavaScript (in a web browser)
21
27
28
+
The minimalist JavaScript client does not currently support API keys. If you need API key support in JavaScript, contact delphi-support+privacy@andrew.cmu.edu.
29
+
22
30
````html
23
31
<!-- Imports -->
24
32
<scriptsrc="delphi_epidata.js"></script>
@@ -45,6 +53,8 @@ in the same directory as your Python script.
45
53
````python
46
54
# Import
47
55
from delphi_epidata import Epidata
56
+
# [Optional] configure your API key, if desired
57
+
#Epidata.auth = ('epidata', <your API key>)
48
58
# Fetch data
49
59
res = Epidata.covidcast('fb-survey', 'smoothed_cli', 'day', 'county', [20200401, Epidata.range(20200405, 20200414)], '06001')
0 commit comments