Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.


tyagi

23 posts

Geek


#21528 29-Apr-2008 20:18

Does anyone know whether the API has been published for XNet's usage meter service?

I'm not running MS Windows and I don't generally use Firefox as my browser, so I'd like to code something which polls my usage.

The Firefox plugin is a binary, so I can't see the source code, and it transmits using HTTPS, so I can't sniff the message exchange.

Before going to lower levels of detail, I wondered whether the API had been published, or whether the Firefox (or Windows app) code is available?

Create new topic
Filterer
489 posts

Ultimate Geek
+1 received by user: 6


  #127197 29-Apr-2008 22:45
Send private message

The firefox plugin is in javacript so you can look into the javascript there as its all in clear text.
A firefox extension is just a zipped up bunch of files, just unzip it and then unzip the jar file inside that zip.
Also if you install Live Http headers for firefox you can see the url that it is requesting, even though its https.

Not sure how much detail they would wont revealing on a public forum, if you need more detail send me a pm.

In essence its a HTTPS GET to a server, which includes your username and a md5 hash of your password. It simply returns an xml file with your usage in it. If you are technical enough to create your own program then thats all the guidance you should need.

Currently I have an app that chucks the info in a database every 30 min, I don't really have a need for the info at the moment but you never know.....

Filterer

edit: I would love if you can get them to include the individual down and up figures in the xml




pɐǝɥ sıɥ uo ƃuıpuɐʇs



tyagi

23 posts

Geek


  #133457 26-May-2008 23:35

Done. Thanks for the info, I've not worked with Firefox plugins before.

Mono
74 posts

Master Geek
+1 received by user: 3


  #133638 27-May-2008 19:28
Send private message

Out of curiosity, what platform are you writing something for?




- Mono

Create new topic








Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.