Skip to content

IDFM-API V.1.0.0

Compare
Choose a tag to compare
@drosoCode drosoCode released this 15 Sep 17:49
· 28 commits to main since this release
f2f33d2

This new version now uses the official API from the PRIM platform to get the data.

There are a few breaking changes:

  • You need to get an api token from the PRIM website and pass this token when instanciating the class
  • You no longer need to pass the line_id to get_traffic
  • The forward boolean has been replaced by the direction attribute, which may be different from the destination (ex: when there is a branch, the direction will be the same but depending on which branch you take the destination will be different)