IDFM-API V.1.0.0
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)