A client for the RESTful myFastway API service. Official API documentation can be found here.
- Install project dependencies.
- Place
fastway/labels.csv
inpyFastway/fastway/tracking/
. - Run program with
python pyFastway/fastway/fastway_client.py
. - Enter
client_id
andclient_secret
from your myFastway account on first run.
- Run program with
python pyFastway/fastway/fastway_client.py
and argumentswrite
(default) orprint
. - Find results in
pyFastway/fastway/results/fastway_results.csv
when the program is finished (write
only). - View logging information in
pyFastway/fastway/results/fastway_log.json
if required.
Argument | Description |
---|---|
write (default) |
Writes output to fastway_results.csv . |
print |
Prints output to the console only. |
Examples:
python pyFastway/fastway/fastway_client.py print
python pyFastway/fastway/fastway_client.py write
Python 3 must be installed. For information on downloading and installing Python, visit the official downloads page.
The following packages and their dependencies must also be installed with Pip:
Install all packages with: pip install -r requirements.txt
For information on installing Pip and Python packages, read this tutorial on w3schools.
API documentation can be found here.
This software is licensed under the GNU General Public License v3.