Skip to main content

The official Python client for the Fintoc API.

Project description

Fintoc meets :snake:

You have just found the Python-flavored client of Fintoc.

Why?

You can think of Fintoc API as a piscola. And the key ingredient to a properly made piscola are the ice cubes.
Sure, you can still have a piscola without ice cubes. But hey… that’s not enjoyable -- why would you do that?
Do yourself a favor: go grab some ice cubes by installing this refreshing library.


Features

  • Your bank account at your fingertips using idiomatic Python
  • A minimalist user interface that feels like a DSL
  • Quite a few handpicked emoji

How to install

Install it with Poetry, the modern package manager.

$ poetry add fintoc

Don’t worry: if poetry is not your thing, you can also use pip.

$ pip install fintoc

Note: This client requires Python 3.6+.

Quickstart

  1. Get your API key and link your bank account using the Fintoc dashboard.
  2. Open your command-line interface.
  3. Write a few lines of Python to see your bank movements.
>>> from fintoc import Client
>>> client = Client("your_api_key")
>>> link = client.get_link("your_link_token")
>>> account = link.find(type_="checking_account")
>>> account.update_movements()
>>> account.show_movements(10)

And that’s it!

Dependencies

This project relies on these useful libraries.

  • httpx -- a next-generation HTTP client
  • tabulate -- pretty-print tabular data
  • python-dateutil -- useful extensions to the standard Python datetime features

How to test…

The web API

That’s a 🍰.

  1. Log in into your bank account and send me some money.
  2. Use this library to check if the movement is correct.
  3. You’re welcome.

The library

You can run all the discoverable tests.

$ python -m unittest

Roadmap

  • Add more docstrings
  • Add more unit tests
  • Add more type hints

Acknowledgements

This library was initially designed and handcrafted by @nebil, ad piscolem.
He built it with the help of Gianni Roberto’s Picchi 2.

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

fintoc-0.1.2.tar.gz (8.5 kB view hashes)

Uploaded Source

Built Distribution

fintoc-0.1.2-py3-none-any.whl (9.0 kB view hashes)

Uploaded Python 3

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