gem install espago
or just add it to your Gemfile if you are running a Rails project
After registering at http://espago.com configure your app with the security credentials.
The most standard way of configuring Espago is to do it globally on the Espago class.
Espago.app_id = 'your-espago-app-id'
Espago.app_password = 'your-espago-secret'
Espago.public_key = 'your-espago-key'
Espago.production = false #sets Espago enviroment to sandbox
response = Espago.send_request(:clients, :get)
response = Espago.clients :get