forked from jimmoffitt/rbSearchAPI
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPowerTrackConfig.yaml
55 lines (47 loc) · 2.1 KB
/
PowerTrackConfig.yaml
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
#Account details.
account:
account_name: my_account_name #Used in URL for Gnip APIs.
user_name: [email protected]
password_encoded: PaSsWoRd_EnCoDeD #At least some resemblance of security. Generated by "base64" Ruby Gem.
#password: PlainTextPassword #Use this is you want to use plain text, and comment out the encoded entry above.
#Gnip Product Configurations:
search: #Gnip Search API.
label: prod
in_box: ./search_in #Folder where request id files are submitted.
in_box_completed: ./search_in/completed #Folder where processed request id files are moved to.
storage: files #options: files, database --> Store activities in local files or in database?
out_box: ./search_out #Folder where retrieved data goes.
#Current defaults
publisher: twitter
rehydration: #Gnip Rehyrdation API.
in_box: ./rehydration_in #Folder where request id files are submitted.
in_box_completed: ./rehydration_in/completed #Folder where processed request id files are moved to.
storage: files #options: files, database --> Store activities in local files or in database?
out_box: ./rehydration_out #Folder where retrieved data goes.
keep_na_files: true #Save [tweet_id].na and [tweet_id].old for not available IDs?
out_box_na: ./rehydration_out/ids_na #Folder where "not available" tweet IDs go.
out_box_old: ./rehydration_out/ids_old #Folder where "old" data goes.
#Current defaults
publisher: twitter
historical: #Gnip Historical API.
storage: files #options: files, database --> Store activities in local files or in database?
base_output_folder: ./output #Root folder for downloaded files.
friendly_folder_names: true #converts job title into folder name by removing whitespace
#Current defaults
publisher: twitter
stream_type: track
#Local environment settings: databases, web servers, etc.
database:
host: 127.0.0.1
port: 3306
#Note: currently all PowerTrack example clients share a common database schema.
schema: power-track_development
user_name: root
password_encoded:
#password: test
type: mysql
web_servers:
host_url: local_host
host_ip: 127.0.0.1
secondary_url:
secondary_ip: