Skip to content
This repository has been archived by the owner on Dec 7, 2023. It is now read-only.

Commit

Permalink
added city names for autocomplete
Browse files Browse the repository at this point in the history
  • Loading branch information
Yotie2000 committed Oct 29, 2023
1 parent 76a6098 commit bb09896
Show file tree
Hide file tree
Showing 4 changed files with 3,716 additions and 15,006 deletions.
8 changes: 4 additions & 4 deletions backend/coop_locations.py
Expand Up @@ -94,9 +94,9 @@ def save_to_file(cities):
json.dump(cities, file, ensure_ascii=False, indent=4)


cities = fetch_swiss_cities()
save_to_file(cities)
print(f"Data saved to swiss_cities_by_population_with_canton.json.")
# cities = fetch_swiss_cities()
# save_to_file(cities)
# print(f"Data saved to swiss_cities_by_population_with_canton.json.")



Expand Down Expand Up @@ -250,7 +250,7 @@ def create_json(coop, openingTime, closingTime, openStatus):
qualified_coops
)

# getCoopLocations("Basel", 10, time_filter=False)
getCoopLocations("Basel", 10, time_filter=False)



Expand Down
152 changes: 0 additions & 152 deletions backend/filtered_coopLocations.json

This file was deleted.

0 comments on commit bb09896

Please sign in to comment.