Hi guys,
I'm trying to figure out the cleanest, simplest way to parse Foursquare data using the mixin technique from the other SaaS modules. Foursquare's envelope looks like this when querying for a user:
Bear in mind that for other API calls, the property name under "response" is different depending on the call... for instance, the Todos call looks like so...Code:{ "meta":{ "code":200 }, "response":{ "user":{ "id":"700390", "firstName":"Matt", "lastName":"Wright", ..... } } }
Any tips?Code:{ "meta":{ "code":200 }, "response":{ "todos":{ "count":2, "items":[ { "id":"4dfa596a8877b30c3987985f", ... } ] } } }


Reply With Quote
