This is an example on how you could connect and use RunKeeper API with the Titanium Appcelerator