Code to interact with public API's via OAuth & JSON