MangoBrowser is a Sinatra web application that allows you to easily browse MangoPay's API.
More screenshots here.
MangoBrowser idea and code is inspired by BrowS3, an Amazon S3 API explorer, crafted by Tractical.
The app will ask you for your Client ID and Client Passphrase and if those credentials are for preproduction or production mode. Don't worry, no information is kept in any database.
Once logged in you will be able to see the list of users and events. Inside each User and Event you can navigate to their associated objects (Wallets, Transactions, Refunds, Transfers, etc.)
You can deploy this app to your Heroku account for free by just pressing this button:
If you don't want to deploy it to your own Heroku account, you can use our app instance (don't worry we are not logging your API keys): MangoBrowser
Finally if you want to run it locally just follow these steps:
-
Install Ruby. You can use rbenv or any other method you prefer.
-
Install Node.js. You can see the official documentation here
-
Clone the repository
$ git clone [email protected]:diacode/mangobrowser.git
-
Run bundle to install the required gems.
$ bundle install
-
Run the application.
$ rackup config.ru
-
Open your browser http://localhost:9292
You can see the contributing guidelines here
MangoBrowser is not an official product by MangoPay. We created MangoBrowser to cover our own needs.