From cd6278f74d3fa2d0d1b8c9a5f49facdd16be3d92 Mon Sep 17 00:00:00 2001 From: Klaas Schoute Date: Sat, 1 Jul 2023 17:31:11 +0200 Subject: [PATCH] Update code for Dusseldorf (#398) --- README.md | 2 +- app/cities/germany/dusseldorf.py | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 433aaff..fc80ac9 100644 --- a/README.md +++ b/README.md @@ -33,7 +33,7 @@ These are the cities currently supported: | Belgium | Liege | 952 | | | Belgium | Namur | 305 | | | Germany | Dresden | 477 | | -| Germany | Dusseldorf | 315 | | +| Germany | Dusseldorf | 327 | | | Germany | Hamburg | 812 (says 813) | | | Netherlands | Amersfoort | 149 | every monday at 03:00 | `0 3 * * 1` | | Netherlands | Amsterdam | 1328 | every second day of the month at 03:00 | `0 3 2 * *` | diff --git a/app/cities/germany/dusseldorf.py b/app/cities/germany/dusseldorf.py index 5314710..401d3c7 100644 --- a/app/cities/germany/dusseldorf.py +++ b/app/cities/germany/dusseldorf.py @@ -21,7 +21,6 @@ def __init__(self) -> None: province_id=16, geo_code="DE-NW", ) - self.limit = 350 self.phone_code = "0211" async def async_get_locations(self) -> list: @@ -32,7 +31,7 @@ async def async_get_locations(self) -> list: list: A list of parking locations. """ async with ODPDusseldorf() as client: - locations = await client.disabled_parkings(limit=self.limit) + locations = await client.disabled_parkings() print(f"{self.name} - data has been retrieved") return locations