All Projects → kevinjqiu → Tangerine

kevinjqiu / Tangerine

Tangerine Bank scraper

Programming Languages

python
139335 projects - #7 most used programming language
python3
1442 projects

Labels

Projects that are alternatives of or similar to Tangerine

Node Website Scraper
Download website to local directory (including all css, images, js, etc.)
Stars: ✭ 912 (+1588.89%)
Mutual labels:  scraper
Avbook
AV 电影管理系统, avmoo , javbus , javlibrary 爬虫,线上 AV 影片图书馆,AV 磁力链接数据库,Japanese Adult Video Library,Adult Video Magnet Links - Japanese Adult Video Database
Stars: ✭ 8,133 (+14961.11%)
Mutual labels:  scraper
Karate
Webscraper
Stars: ✭ 45 (-16.67%)
Mutual labels:  scraper
Ratatouille
A Node.js wrapper for scraping allrecipes.com
Stars: ✭ 26 (-51.85%)
Mutual labels:  scraper
Botvid 19
Messenger Bot that scrapes for COVID-19 data and periodically updates subscribers via Facebook Messages. Created using Python/Flask, MYSQL, HTML, Heroku
Stars: ✭ 34 (-37.04%)
Mutual labels:  scraper
Shopifyscraper
Shopify Scraper (not monitor)
Stars: ✭ 41 (-24.07%)
Mutual labels:  scraper
Pycyanide
Stars: ✭ 13 (-75.93%)
Mutual labels:  scraper
Pitchfork Npm
An Unofficial Pitchfork Music API client for Node.js
Stars: ✭ 50 (-7.41%)
Mutual labels:  scraper
Serp
Google Search SERP Scraper
Stars: ✭ 40 (-25.93%)
Mutual labels:  scraper
Repository.kodibae
Kodi Bae Repository - Kodi is a registered trademark of the XBMC Foundation. We are not connected to or in any other way affiliated with Kodi - DMCA: [email protected]
Stars: ✭ 45 (-16.67%)
Mutual labels:  scraper
Anitop
Anitop is an unofficial simple API from https://anitrendz.net/ site
Stars: ✭ 30 (-44.44%)
Mutual labels:  scraper
Real Estate Scraper
Web scraper that makes it easier to find real estate in Slovenia.
Stars: ✭ 31 (-42.59%)
Mutual labels:  scraper
Public Instagram
Tool to fetch Instagram's public content.
Stars: ✭ 43 (-20.37%)
Mutual labels:  scraper
Huginn
Create agents that monitor and act on your behalf. Your agents are standing by!
Stars: ✭ 33,694 (+62296.3%)
Mutual labels:  scraper
Social Scraper
Tổng hợp script crawl dữ liệu từ các mạng xã hội & website tiếng Việt
Stars: ✭ 47 (-12.96%)
Mutual labels:  scraper
Pypergrabber
Fetches PubMed article IDs (PMIDs) from email inbox, then crawls PubMed, Google Scholar and Sci-Hub for respective PDF files.
Stars: ✭ 14 (-74.07%)
Mutual labels:  scraper
Chinese Xinhua
📙 中华新华字典数据库。包括歇后语,成语,词语,汉字。
Stars: ✭ 8,705 (+16020.37%)
Mutual labels:  scraper
Anutimetable
Intuitive timetable builder for the Australian National University.
Stars: ✭ 52 (-3.7%)
Mutual labels:  scraper
Scrapstagram
An Instagram Scrapper
Stars: ✭ 50 (-7.41%)
Mutual labels:  scraper
Django Dynamic Scraper
Creating Scrapy scrapers via the Django admin interface
Stars: ✭ 1,024 (+1796.3%)
Mutual labels:  scraper
 _____                           _            
|_   _|_ _ _ __   __ _  ___ _ __(_)_ __   ___ 
  | |/ _` | '_ \ / _` |/ _ \ '__| | '_ \ / _ \
  | | (_| | | | | (_| |  __/ |  | | | | |  __/
  |_|\__,_|_| |_|\__, |\___|_|  |_|_| |_|\___|
                 |___/                        

Latest PyPI version CircleCI codecov

API and scraper for the Tangerine Bank (Canada).

Install

pip install tangerine

Usage

Authentication

from tangerine import InteractiveSecretProvider, TangerineClient

secret_provider = InteractiveSecretProvider()
client = TangerineClient(secret_provider)

with client.login():
    ...

Using InteractiveSecretProvider will prompt user for username/account #, security challenge questions and PIN number.

The call to client.login() will initiate the login process. After the login is successful, subsequent calls to the API will be authenticated.

If client.login() is used as a context manager (i.e., with client.login():), logout will be automatically initiated after the code block exits or any exception is raised.

List accounts

With an active session, use client.list_accounts():

with client.login():
    accounts = client.list_accounts()

List transactions

with client.login():
    accounts = client.list_accounts()
    start_date = datetime.date(2017, 10, 1)
    end_date = datetime.date(2017, 11, 1)
    client.list_transactions([acct['number'] for acct in accounts], start_date, end_date)

Download statements

with client.login():
    accounts = client.list_accounts()
    start_date = datetime.date(2017, 10, 1)
    end_date = datetime.date(2017, 11, 1)
    client.download_ofx(account[0], start_date, end_date)

Contribution

Requirements:

  • Python 3
  • pipenv
  • basic knowledge of Python and git

To contribute to the development, fork this repo to your github account, and clone it.

$ git clone https://YOUR-CLONE-URL tangerine
$ cd tangerine
$ pipenv install  # this creates the virtualenv and installs the dependencies
$ pipenv shell    # this activates the virtualenv
$ git checkout -b branch-for-feature-or-bug-fix
HACK...HACK...HACK
$ git commit ...
$ git push

and send a PR :)

Licence

MIT

Changelog

See CHANGELOG.md

Authors

tangerine was written by Kevin J. Qiu [email protected] with contributors.

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].