Codebits RFID API (with history)
Fri 14 November, 2008 11:12 |
Permalink |
Comments (1) |
Trackbacks (0)
I know it’s old, I know that other people have it already, but still I decided to publish it.
SAPO Codebits RFID API endpoints
- GET http://codebitsapi.0x82.com/users.{xml|json} returns the user list
- GET http://codebitsapi.0x82.com/users/id.{xml|json} returns the info about a specific user
- GET http://codebitsapi.0x82.com/users/id/locations.{xml|json} returns the user location history (ordered by lastseen ASC)
I only got the parser online yesterday at 19:00, so there are no results before that.
Have fun, and don’t abuse the server: the apps are written in Rails and everybody knows that Rails can’t scale
1 Comment | rss | atom | xml | json
microft joker ~ :) GET http://codebitsapi.0x82.com/users/221/locations.xml | grep locname | sed -e ’s/<\/*locname>//g; s/\ \ \ *//g’ | perl -e ‘%h=(); while(<>){ chomp; $h{$}++ } foreach (keys %h){print ”$h{$} $_\n”; } ’ | sort -nr
15 Entrada Recinto 14 Bar 5 Lab Sapo 4 Jogos 3 Palco 1 3 Entrada Edificio 3 Comida 2 Meo 1 Palco 2 1 Electronica
O Bar era o “place to be”?
You can use Textile 2 markup here. The XHTML tags accepted are: a, abbr, acronym, b, blockquote, code, em, i, strike and strong.