diff options
Diffstat (limited to 'constants.py')
| -rw-r--r-- | constants.py | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/constants.py b/constants.py new file mode 100644 index 0000000..bb57cb8 --- /dev/null +++ b/constants.py @@ -0,0 +1,12 @@ +ENDPOINT = "https://www.fuel-finder.service.gov.uk/internal/v1.0.2/csv/get-latest-fuel-prices-csv" + +SORT_KV = { + "e10": "e10_price", + "e5": "e5_price", + "b7s": "diesel_price", + "distance": "distance", +} + +HEADERS = { + "User-Agent": "Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_4; en-US) AppleWebKit/533.45 (KHTML, like Gecko) Chrome/48.0.2094.221 Safari/602" +} |
