Usage
Installation
Simple Usage
Creating the FIO adapter and looking for information about the material Drinking Water by its ticker "DW".
This will print the material information of Drinking Water as MaterialModel and it's JSON.
Additional parameters
FIO Wrapper allows you to specify additional attributes when instantiating. The most commonly used is api_key
that lets you add your FIO API Key (obtained on the FIO Website) to access protected endpoints like Site or Storage.
The complete list of parameters can be found on FIO()
.
Configuration file
FIO Wrapper can use a configuration file provided upon instantiation to overwrite its base configuration.
Example configuration file config.yml
:
Use this configuration file on FIO()
by providing the config
attribute: