forked from HandsetDetection/ruby-apikit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
hdconfig.yml
37 lines (37 loc) · 1.71 KB
/
hdconfig.yml
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
# Handset Detection v4.0 API Kit configuration file
#
# Config file options
#
# username : your api username * Required : From 'Dashboard (Manage Sites Section) > Site Settings > Cloud ' Page
# secret : your api secret * Required : From 'Dashboard (Manage Sites Section) > Site Settings > Cloud ' Page
# site_id : the site_id to be used for these queries * Required : From 'Dashboard (Manage Sites Section) > Site Settings > Cloud ' Page
# filesdir : defaults to the installation directory - when set any downloaded files and any file caches will be setup here eg /tmp
# use_local : set to true if you're using an Ultimate licence (download the data set and perform detections locally)
# api_server : defaults to api.handsetdetection.com - Use a different hostname to force connections to a different server pool
# debug : defaults to false - Set to true to log interesting messages to syslog
# retries : default 3 - number of times a connection is retried
# use_proxy : set to true to connect through a proxy server
# proxy_server : address of proxy server
# proxy_port : port of proxy server
# proxy_user : if proxy server requires a username
# proxy_pass : if proxy server requires a password
# log_unknown : Anonymously log unclassified http headers - Fast (uses UDP) places no strain on the system.
# log_generics : Anonymously log generic replies (so we can do a better job picking them up) - Fast (uses UDP) places no strain on the system.
#
username: your_api_username
secret: your_api_secret
site_id: your_api_siteId
use_local: false
filesdir: /tmp
debug: false
api_server: api.handsetdetection.com
cache_requests: false
geoip: true
timeout: 30
use_proxy: false
proxy_server:
proxy_port:
proxy_user:
proxy_pass:
retries: 3
log_unknown: true