51Degrees Geo-Location Node.js  4.1Newer Version 4.3

51Degrees Geo-Location for Node.js


Example of using the 51Degrees geo-location Cloud alongside 51Degrees device detection to determine the country and device for a given longitude, latitude and User-Agent.This example is available in full on GitHub.

To run this example, you will need to create a resource key. The resource key is used as short-hand to store the particular set of properties you are interested in as well as any associated license keys that entitle you to increased request limits and/or paid-for properties.

You will also need to install the fiftyone.devicedetection package with npm install fiftyone.devicedetection.

You can create a resource key using the 51Degrees Configurator.