aboutsummaryrefslogtreecommitdiffstats
path: root/fnme/constants.py
diff options
context:
space:
mode:
Diffstat (limited to 'fnme/constants.py')
-rw-r--r--fnme/constants.py12
1 files changed, 12 insertions, 0 deletions
diff --git a/fnme/constants.py b/fnme/constants.py
new file mode 100644
index 0000000..bb57cb8
--- /dev/null
+++ b/fnme/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"
+}
git.ajschof.me — hosted by ajschofield — powered by cgit