ContriHUB / Sheher

Django project to get info regarding tourist places.
1 stars 19 forks source link

Add weather api #69

Closed eleensmathew closed 10 months ago

eleensmathew commented 10 months ago

Added Weather information to each place

Used https://www.weatherapi.com/ to make api calls based on latitutde and longitude of each place. this information is added to the dictionary of places and displayed on the front end Created a function called get_weather_data that return weather information in form of dictionary. Modified homepage .views so that weather_info is appended to context dictionary Modified index.html do weather information is displayed

Screenshot (156)

Fixes # (https://github.com/ContriHUB/Sheher/issues/64)

Type of change