\r\n

51Degrees Device Detection Python  4.4

Device Detection services for 51Degrees Pipeline

gettingstarted.py File Reference

string  examples.gettingstarted.data_file = "../fiftyone_devicedetection_onpremise/src/fiftyone_devicedetection_onpremise/cxx/device-detection-data/51Degrees-LiteV4.1.hash"
string  examples.gettingstarted.resource_key = "!!YOUR_RESOURCE_KEY!!"
 examples.gettingstarted.pipeline = DeviceDetectionPipelineBuilder(data_file_path = data_file, licence_keys = "", performance_profile = 'MaxPerformance', auto_update=False).build()  examples.gettingstarted.flowdata1 = pipeline.create_flowdata() string  examples.gettingstarted.desktop_ua = "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.97 Safari/537.36"  examples.gettingstarted.flowdata2 = pipeline.create_flowdata() string  examples.gettingstarted.iphone_ua = "Mozilla/5.0 (iPhone; CPU iPhone OS 11_2 like Mac OS X) AppleWebKit/604.4.7 (KHTML, like Gecko) Mobile/15C114"