We are using the PHP client to retrieve the device_os but we can't get it to work with any user agent.
Code: Select all
$config = new \WurflCloud_Client_Config();
$config->api_key = 'OUR KEY';
// Create the WURFL Cloud Client
$client = new \WurflCloud_Client_Client($config, new \WurflCloud_Cache_Null());
$client->detectDevice(array(
"HTTP_USER_AGENT" => "Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2) Gecko/20100115 Firefox/3.6 (FlipboardProxy/1.1; +http://flipboard.com/browserproxy)",
));
echo $client->getDeviceCapability("device_os");
http://dbapi.scientiamobile.com/explore ... wserproxy)
We have added the capability to our account and things like the is_bot capability is working.