forked from xdevplatform/twitter-for-bigquery
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.template
31 lines (24 loc) · 1.17 KB
/
config.template
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Google Cloud Project: Project ID as listed in the Google Developers Console (https://console.developers.google.com/project)
PROJECT_ID:
PROJECT_NUMBER:
# Google Cloud Project: Service account email address in "APIs & auth->Credentials" (https://console.developers.google.com/project/PROJECT_ID/apiui/credential)
SERVICE_ACCOUNT:
# Google Cloud Project: PKCS12 P12 key in "APIs & auth->Credentials" (https://console.developers.google.com/project/PROJECT_ID/apiui/credential)
KEY_FILE: "key.p12"
# Google BigQuery: Existing dataset and table you want to stream data into (https://bigquery.cloud.google.com/project/PROJECT_ID)
DATASET_ID: "gnip"
TABLE_ID: "tweets"
# Gnip: Endpoints and user credentials (http://console.gnip.com)
GNIP_STREAM_URL: "https://stream.gnip.com:443/accounts/YOUR_ACCOUNT/publishers/twitter/streams/track/prod.json"
GNIP_STREAM_USERNAME:
GNIP_STREAM_PASSWORD:
GNIP_SEARCH_URL: "https://search.gnip.com/accounts/YOUR_ACCOUNT/search/STREAM.json"
GNIP_SEARCH_USERNAME:
GNIP_SEARCH_PASSWORD:
# Twitter API: App keys and tokens (http://apps.twitter.com)
CONSUMER_KEY:
CONSUMER_SECRET:
ACCESS_TOKEN:
ACCESS_TOKEN_SECRET:
# Daemon mode: gnip or twitter
MODE: "gnip"