• About Us
  • Blog
  • Basket
  • Account
  • Sign In
  •  

Python API

Updating Device Data

Keeping device data up-to-date is almost as important as regularly installing security updates as it affects your customers. Correctly identifying the latest devices, Operating Systems and browsers allows you to provide your customers with the most relevant version of your website and content. On average our data team finds and adds over 200 new devices to our database each week.

We understand that manually downloading the latest data file is time consuming and inefficient, so we have introduced automatic updates functionality. This allows your API to automatically retrieve the latest data file from our servers using your licence key and update your current device data file with the latest version.

If you are a Premium or Enterprise customer you can get started with automatic data updates straight away, see the next section for more details. Lite data users are welcome to test drive automatic updates by signing up with our free evaluation programme. When trialling the Premium and Enterprise data file versions you can experience the  benefits of having more properties and device combinations as well as more frequent updates. Compare the features offered by each data file.

For general information about the auto update feature see the Automatic Data Updates documentation page.

Python Specific Information

The latest Lite data file can be downloaded from Github.

For Premium and Enterprise, the latest data file can be downloaded by adding your license key to the settings file, and then running:

51degrees-update-premium-pattern-wrapper

 This can be automated by adding this command to your cron jobs.