Example of application programming interface of the Cuba Weather project for www.redcuba.cu implemented in Python.
from cuba_weather_redcuba import CubaWeatherRedCuba
location = input('Insert municipality:')
api = CubaWeatherRedCuba()
weather = api.get(location)
print(weather)