Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 15 lines (14 sloc) 0.494 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
<?php
// Include the WURFL Cloud Client
require_once 'WURFL/Client/Client.php';
// Create a configuration object
$config = new WurflCloud_Client_Config();
// Set your WURFL Cloud API Key (add your own key)
//$config->api_key = '12345:abcdefgabcdefgabcdefgabcdefg';

//This file contains my own API key and is not in the Git repo
include "fragments/WURFLKey.php";
// Create the WURFL Cloud Client
$client = new WurflCloud_Client_Client($config);
// Detect your device
$client->detectDevice();
?>
Something went wrong with that request. Please try again.