Repository: basic-python-tariff-query
Simple Python library allowing individual commodity URLs to be parsed for key objects
README
Implementation steps
Environment variable settings:
Respectively, these URLs are for:
- a commodity API URL with no country filter
- a commodity API URL with a specified country filter
Installation
- Install necessary Python modules via
pip3 install -r requirements.txt
- Install dev Python modules via
pip3 install -r requirements_dev.txt
Usage
To process a commodity code API with no country restriction:
python3 process_commodity.py 8716109800
To process a commodity code API with a country restriction:
python3 process_commodity.py 8716109800 FR
Examples
Commodity |
Features |
8716109800 |
Multiple VAT rates |
2204101100 |
Excise rates |
0702000007 |
Quotas |