Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

brokermint

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

brokermint

Python interface to Brokermint's API

  • 0.0.4
  • PyPI
  • Socket score

Maintainers
1

Python interface to the Brokermint API

Coverage Package version


Documentation: https://brokermint.dpguthrie.com

Source Code: https://github.com/dpguthrie/brokermint

Brokermint API Documentation: https://brokermint.com/api/


Overview

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

Windows

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: https://docs.oracle.com/en/database/oracle/r-enterprise/1.5.1/oread/creating-and-modifying-environment-variables-on-windows.html*

Requirements

Python 3.6+

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

Installation

pip install brokermint

Example

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)

License

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

Keywords

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc