DeviceAtlas 2.3 Release

The 2.3 release of DeviceAtlas brings with it the next major release of our API. Version 2.3 is being released as a Beta to allow users to familiarise themselves with the new features and adapt their implementations to take advantage of these.

“What happened to version 2.0?” you may ask. Well, our product managers got very upset when we wanted to call this version 2.0. “We had our 2.2 release weeks ago!” they gasped in horror. To be fair they are right. You see the website and data at DeviceAtlas.com have been the focus of our love and attention for the past few months and have flown ahead to version 2.2. Well, today is release 2.3. No changes to the website but a bright shiny new API for all of our developers so here you go.

We’re very excited about the direction the API has taken for this major release. There are some great new classes available which we think make using DeviceAtlas as simple as a single line of code. Seriously. Not only that but we’ve added a whole bunch of new detection intelligence to our data that will make your device detection even better.

Easy to use – even for designers…

We know that before we made you do a lot of the ground work yourself using the DeviceAtlas API. Finding the headers, looking out for those sneaky transcoders and proxies not to mention caching your device data. Well with the new API we will handle all the caching, and header “sniffing” for you, making your device aware development a piece of cake.

Here’s some sample code to show you how easy it is:

PHP

Java – Sample JSP code

.NET – Sample ASP.NET code

Server Additions – making device detection… invisible

The Java and .NET API’s come with some new packages/namespaces that contain classes specifically for use within the ASP.NET or Java Servlet environments. These server extensions can be configured to handle incoming requests before they are passed to your handling code and add extra device data from DeviceAtlas.

With the server extensions installed and configured you can forget DeviceAtlas is even there. Just code your sites and refer to device capabilities like they are second-nature.

This means really simple code can be implemented within your solutions, simple enough that we think it will even make your designers happy.

Java – Using Expression Language

${browser.mobileDevice ? "

Visit our Mobile Site.

" : ""}

ASP.NET

A bonus for PHP devs on IIS7

An added bonus of this is for PHP developers hosting on IIS 7. Because IIS7 allows you to activate modules written in managed code for applications that operate outside the ASP.NET environment you can get DeviceAtlas data directly within your PHP applications. So you could write PHP code like this:

Even better device detection

We know our device data is pretty damn good already but we’ve gone a step further to make device detection with our API even better. We’ve have added UA Profile data to the JSON and the capability to use this data to the new API. Also the API will automatically sniff out the correct headers for you, so no more checks for proxies or transcoders.

This is a quatum leap for DeviceAtlas as we leave the old “purely User-Agent based” device detection days (and most other device detection systems) behind us. Remember to get this added detection accuracy you need the new JSON file that comes with the API. The downloadable JSON will continue to be in the old format until this API becomes the official release.

The example below illustrates this improvement using PHP but applies to all 3 API’s.

Download

You can download the API, samples and documentation from the DeviceAtlas website.

Unfortunately the Ruby and Python API’s are not ready for release yet but we just couldn’t wait any longer to show you how cool the new API’s are so we wanted to get these out anyway.

Feel free to comment on your experience using the API here or in the forums. We welcome your feedback

Exclusive tips, how-tos, news and comment

Receive monthly updates on the world of mobile dev.

Other Products

Market leading device intelligence for the web, app and MNO ecosystems
DeviceAtlas - Device Intelligence

Real-time identification of fraudulent and misrepresented traffic
DeviceAssure - Device Verification

A free tool for developers, designers and marketers to test website performance
mobiReady - Evaluate your websites’ mobile readiness

© 2024 DeviceAtlas Limited. All rights reserved.

This is a website of DeviceAtlas Limited, a private company limited by shares, incorporated and registered in the Republic of Ireland with registered number 398040 and registered office at 6th Floor, 2 Grand Canal Square, Dublin 2, Ireland