Wednesday, May 30, 2012

Guides for iOS library design

Matt Gemmell had written 25 good rules for API design, specifically for developers writing iOS/Mac libraries, frameworks, or resuable components.

Wednesday, May 23, 2012

Bus API for Singapore

LTA Singapore does make available lot of data for public transportation at their Data Mall. You can find bus routes, real time traffic images, car parks info, etc. Developers have to fill in a request form to use the data, perhaps their API?

There is also bus arrival time from the website, but unfortunately not an API.


Sunday, May 20, 2012

The REST API for Credit Card Payment

You might thought Paypal API would be mentioned.

But no, it's Stripe, the new kid on the block.

It is so simple to charge to a credit card with it's 1 line of http request:


curl https://api.stripe.com/v1/charges \
   -u vtUQeOtUnYr7PGCLQ96Ul4zqpDUO4sOE: \
   -d amount=400 \
   -d currency=usd \
   -d "description=Charge for site@stripe.com" \
   -d "card[number]=4242424242424242" \
   -d "card[exp_month]=12" \
   -d "card[exp_year]=2012" \
   -d "card[cvc]=123"

Charges: 2.9% + 30 cents

Friday, May 18, 2012

ifttt API (coming?)

It will be very cool to have an API that unifies all others (at least the popular ones in iftttt)!

Looks like it will come someday! http://ifttt.com/api

Tuesday, May 15, 2012

Unofficial Xbox Live API

It's an unofficial Xbox API.

You can look up a profile, friend list, achievements and search. Pretty basic stuff.

I have no idea how they did it. Enlighten me if you know.

Monday, May 7, 2012

Develop iPad Games Using an iPad - for non-programmer

Turned out there's even a tool, in the form of an iPad app, for building iPad games!

Check out Codea (formerly Codify) on the App Store.