Archive

Posts Tagged ‘api’

Google Analytic – API

August 11th, 2008

What’s up with Google Analytic. Wonderful service for HTML available content but what about offline content?
The javascript API provided by Google blocks sends when not all values are fulfilled.

So how to do this in an AIR application, or a Widget???
After a lot of Google Searching online and Help Sections there is no answer. What I got to so far is that it’s the Cookie handling that mess up the sending of tracker code.

Using a HTMLLoader in AIR I’m trying to get it to send my tracker data but with no success. Everything goes fine and with the startup of the _gat (JavaScript API Class), all values even cookie looks correct.
The problem gets when trying to run the _trackPageview(”); it starts to loose data, mainly the cookie and then the API stops to work.

A bug in the API or some security problem? Anyone out there has any suggestion please advice.

Life , ,

Västtrafik + API = undefined

July 28th, 2008

Got hold of Västtrafik (Gothenburgs public transportation system) and asked them for an open API. Vasttrafik has before had some open connections for services but it they have now shut it and their webmaster pointed me at this direction.
http://www.vasttrafik.se/sv/Att-resa/Reseplaneraren/Reseplaneraren-pa-din-sida/Post.aspx

So it seems like to use their services I need to include an iFrame with their services. A sad day for me, with an open API there was loads of posibilities for e.g. connecting a map with destinations drawn for your route, select where you want to go on the map and why not port that to the iPhone.

So I’m giving Västtrafik the thumbs down. Bad public service API;s…. bad…

Life ,