Usage

Installation

This package is available on PyPI . This package is based on the official API from PRIM . To use IDFM-API, first install it using pip:

pip install idfm_api

Usage

First, you need to create an account on the PRIM website and get your API key here .

You can then use the cli.py file at the root of this repo to test this package in an interactive way. The transport line selection might thake a while as we fetch and process the datasets at runtime. The documentations for the available functions is available here: idfm_api package

Building

To build this package, you need to install the dependancies:

pip install requests build twine

Run python -m build to generate the packages.