Use Geopy:
# RUN 'pip install geopy' before using code. from geopy.geocoders import Nominatim geolocator = Nominatim(user_agent="your_app_name") location = geolocator.reverse("{lat}, {long}") print(location.address)