Skip to content

Commit

Permalink
Update code for Dusseldorf (#398)
Browse files Browse the repository at this point in the history
  • Loading branch information
klaasnicolaas authored Jul 1, 2023
1 parent f88305b commit cd6278f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 * *` |
Expand Down
3 changes: 1 addition & 2 deletions app/cities/germany/dusseldorf.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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

Expand Down

0 comments on commit cd6278f

Please sign in to comment.