All Projects β†’ muyiwaolu β†’ monzo-python

muyiwaolu / monzo-python

Licence: MIT license
πŸ’³ A python SDK for interacting with the Monzo API.

Programming Languages

python
139335 projects - #7 most used programming language
Batchfile
5799 projects

Projects that are alternatives of or similar to monzo-python

harvesting
Ruby wrapper for the Harvest API v2
Stars: ✭ 24 (-36.84%)
Mutual labels:  api-wrapper
mojang
A wrapper for the Mojang API and Minecraft website
Stars: ✭ 19 (-50%)
Mutual labels:  api-wrapper
Php-Google-Vision-Api
Google Vision Api for PHP (https://cloud.google.com/vision/)
Stars: ✭ 61 (+60.53%)
Mutual labels:  api-wrapper
pagespeedParseR
pagespeedParseR is an R wrapper for Google Pagespeed Insights API, that also enables convenient parsing
Stars: ✭ 20 (-47.37%)
Mutual labels:  api-wrapper
mixin bot
A simple API wrapper for Mixin Network in Ruby
Stars: ✭ 12 (-68.42%)
Mutual labels:  api-wrapper
nanoleaf-aurora
A java wrapper for the Nanoleaf Aurora API
Stars: ✭ 19 (-50%)
Mutual labels:  api-wrapper
autopilot-api
A third-party JavaScript wrapper for Autopilot's REST API.
Stars: ✭ 14 (-63.16%)
Mutual labels:  api-wrapper
instapro
professional instagram tool for developers
Stars: ✭ 81 (+113.16%)
Mutual labels:  api-wrapper
pyArtifact
Pythonic wrapper around Valve's Artifact API
Stars: ✭ 25 (-34.21%)
Mutual labels:  api-wrapper
mkm-sdk
Python SDK for Magickartenmarkt API
Stars: ✭ 33 (-13.16%)
Mutual labels:  api-wrapper
cryptox
Common API wrapper for multiple crypto currency exchanges
Stars: ✭ 50 (+31.58%)
Mutual labels:  api-wrapper
tplink-smartplug-api
TP-Link HS1xx smart plug API wrapper.
Stars: ✭ 48 (+26.32%)
Mutual labels:  api-wrapper
py-flexpoolapi
🐍 Pythonic wrapper for Flexpool Public API
Stars: ✭ 14 (-63.16%)
Mutual labels:  api-wrapper
open route service
An encapsulation made around openrouteservice API for Dart and Flutter projects. Made for easy generation of Routes and Directions on Maps, Isochrones, Time-Distance Matrix, Pelias Geocoding, POIs, Elevation and routing Optimizations using their amazing API.
Stars: ✭ 20 (-47.37%)
Mutual labels:  api-wrapper
Coronavirus
Java API Wrapper for tracking coronavirus (COVID-19, SARS-CoV-2) via https://git.io/Jvoep
Stars: ✭ 16 (-57.89%)
Mutual labels:  api-wrapper
clash-api
Ruby wrapper for the Clash of Clans API
Stars: ✭ 14 (-63.16%)
Mutual labels:  api-wrapper
cbapi-python
Carbon Black API - Python language bindings
Stars: ✭ 140 (+268.42%)
Mutual labels:  api-wrapper
mailerlite-api-python
Python wrapper for Mailerlite API v2
Stars: ✭ 31 (-18.42%)
Mutual labels:  api-wrapper
moonstone
A simple dogehouse.tv API wrapper
Stars: ✭ 38 (+0%)
Mutual labels:  api-wrapper
discourse-js
JavaScript wrapper around the Discourse API
Stars: ✭ 16 (-57.89%)
Mutual labels:  api-wrapper

This project is no longer under active development

It's been a while since I've written Python as my primary language, not to mention life and work doesn't allow me to spend enough time on this project. Please feel free to fork and continue the work. As for the monzo namespace for PyPy, I'll be keeping a hold of it for security reasons.

CircleCI

monzo-python

Requirements

  • Python >= 3.5

Quickstart

Make sure you have Python and pip on your machine

To install the package run

pip install monzo

If the above doesn’t work, you may want to run the above command as an admin by prefixing sudo.

Example

Open up a Python terminal (or create a Python file) and enter the following:

from monzo import Monzo # Import Monzo class

client = Monzo('access_token_goes_here') # Replace access token with a valid token found at: https://developers.monzo.com/
account_id = client.get_first_account()['id'] # Get the ID of the first account linked to the access token
balance = client.get_balance(account_id) # Get your balance object
print(balance['balance']) # 100000000000
print(balance['currency']) # GBP
print(balance['spend_today']) # 2000

Yup. That easy. To see what more you can do with the client variable, take a look at the tests.

OAuth

The library also supports OAuth. Read the wiki entry for more information.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].