Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/freshollie/cashpassport-tracker
Track how and where I spend my cashpassport money
https://github.com/freshollie/cashpassport-tracker
android api cashpassport-money kivy python service
Last synced: 17 days ago
JSON representation
Track how and where I spend my cashpassport money
- Host: GitHub
- URL: https://github.com/freshollie/cashpassport-tracker
- Owner: freshollie
- Created: 2017-08-17T18:03:54.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-03-24T11:48:32.000Z (almost 7 years ago)
- Last Synced: 2024-11-11T19:43:11.620Z (3 months ago)
- Topics: android, api, cashpassport-money, kivy, python, service
- Language: Python
- Size: 93.8 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Cashpassport Tracker
Transaction update notifier for Mastercards Cashpassport service
## About
Cashpassport is a Prepaid Card scheme run by Mastercard. The card is topped up with a foreign currency,
to be used in that country with no transaction fees.The website to view transactions or balance, however, is very old and not very helpful.
I wrote a wrapper-api for cashpassports website ([cashpassport-api](https://github.com/freshollie/cashpassport-api/)) which
this service uses to pull new transactions and issue an update email of any changes.Credentials for the tracker are required to be stored in a postgres database ([cashpassport-db](https://github.com/freshollie/cashpassport-db/))
The service is designed to run alongside a frontend (Still being built).
## Requirements
- Python 3.5
- cashpassport-api
- cashpassport-db
- Optional: docker
## Setup
`docker build -t cashpassport-tracker:master`
or
`python3 setup.py develop`
## Executing
The service is designed to execute for as many cashpassport accounts as required, configured
by adding them to the accounts table.1. Add a user with email to the `users` table of cashpassport-db
1. Add the required credentials into the `accounts` table of cashpassport-db, along with `notify` as true
1. `python3 src/tracker.py [ARGS]`Args can be found with `python3 src/tracker.py -h`
See more in `stack/docker-compose.yml`
## Standalone Build
Previously this service had the API built in and was designed to run on it's own without a DB.
This service could be built for android and so could run on an old smartphone.
Find this version under the tag `v1.1-standalone`