Skip to main content

A Python module for communicating with the API.

Project description

Bankin-bridge-python is a Python module for communicating with the API.

Main requirements

Python 3.4+, Requests 2.0+.


To install Bankin Bridge, please use pip (or pipenv) as follows:

$ pip install --pre bankin-bridge

Basic usage

The first step to interact with the Bankin Bridge API interface is to initialize a bridge.Client instance. You’ll need a client ID and client secret this initialization:

>>> from bridge import Client
>>> client = Client('<CLIENT_ID>', '<CLIENT_SECRET>')

Then you can easily register a new user, authenticate them and interact with the implemented entities and the underlying API endpoints. Here are some examples:

>>> client.user.create('', '<PWD>')
{'uuid': 'c3b140ad-aa85-49ca-a254-de77de521bbf',
 'resource_uri': '/v2/users/c3b140ad-aa85-49ca-a254-de77de521bbf',
 'resource_type': 'user',
 'email': ''}
>>> client = client.user.authenticate('', '<PWD>')
{'access_token': '<ACCESS_TOKEN>',
 'expires_at': '2018-11-19T17:20:33.546Z',
 'user': {'uuid': '12f34ca5-da8c-4ac2-8882-3e428033f300',
  'resource_uri': '/v2/users/12f34ca5-da8c-4ac2-8882-3e428033f300',
  'resource_type': 'user',
  'email': ''}}
>>> client.set_access_token('<ACCESS_TOKEN>')
>>> client.item.add_url()
{'redirect_url': ''}
>>> client.account.list()


impak Finance <>.


MIT. See LICENSE for more details.

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

bankin-bridge-0.1.0a4.tar.gz (8.5 kB view hashes)

Uploaded source

Built Distribution

bankin_bridge-0.1.0a4-py2.py3-none-any.whl (11.3 kB view hashes)

Uploaded 3 6

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