pyFastway

A client for the RESTful myFastway API.

View the Project on GitHub zachwingrave/pyFastway

Run on Repl.it

pyFastway API Client

A client for the RESTful myFastway API service. Official API documentation can be found here.

Installation and Setup

  1. Install project dependencies.
  2. Place fastway/labels.csv in pyFastway/fastway/tracking/.
  3. Run program with python pyFastway/fastway/fastway_client.py.
  4. Enter client_id and client_secret from your myFastway account on first run.

Running the Program

  1. Run program with python pyFastway/fastway/fastway_client.py and arguments write (default) or print.
  2. Find results in pyFastway/fastway/results/fastway_results.csv when the program is finished (write only).
  3. View logging information in pyFastway/fastway/results/fastway_log.json if required.

Arguments

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

Installing Python and Dependencies

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.

Support

API documentation can be found here.

License

This software is licensed under the GNU General Public License v3.