diff --git a/server/nightr/scrape.py b/server/nightr/scrape.py new file mode 100644 index 0000000..f985acb --- /dev/null +++ b/server/nightr/scrape.py @@ -0,0 +1,8 @@ +import requests + +def scrape_traffic(): + r = requests.get('https://portal.opendata.dk/api/3/action/datastore_search?resource_id=b3eeb0ff-c8a8-4824-99d6-e0a3747c8b0d') + data = r.json() + print(data) + +scrape_traffic() \ No newline at end of file