Skip to main content

Python interface to Brokermint's API

Project description

Python interface to the Brokermint API

Coverage Package version


Source Code:

Brokermint API Documentation:


brokermint is a python interface to data stored in Brokermint.

The interface allows access to data on Brokermint through the Client class:

However, the user must supply an api_key to access or manipulate any data. The user can supply the api_key when instantiating the Client class:

import brokermint as bm

bmc = bm.Client("my_fake_api_key")

Or, you can set the environment variable BM_API_KEY and call the Client class with no arguments: bm.Client()

Linux / MacOS

export BM_API_KEY=my_fake_api_key


set BM_API_KEY=my_fake_api_key

Note: This environment variable is only available in the current process.

See this link for adding an environment variable that exists outside of this process:*


Python 3.6+

  • Requests - The elegant and simple HTTP library for Python, built for human beings.


pip install brokermint


import brokermint as bm

bmc = bm.Client(api_key="my_fake_api_key")

# Get Transactions - defaults to 1,000
data = bmc.list_transactions()

# Get Transactions, limit to 5
data = bmc.list_transactions(count=5)


This project is licensed under the terms of the MIT license.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

brokermint-0.0.4.tar.gz (23.2 kB view hashes)

Uploaded source

Built Distribution

brokermint-0.0.4-py2.py3-none-any.whl (9.0 kB view hashes)

Uploaded py2 py3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page