Hello. I imported pywapi, a weather api, to use with my project being hosted on pythonanywhere. Most of the module works, except that when I try use the function to access data from weather.com, I get a KeyError. It seems that the URL is not being loaded properly. The funny thing is, it is working fine on my home computer using the django development server. Also, on pythonanywhere, the rest of the pywapi module is working (e.g., the calls to the other two main functions work fine and I can access the returned data without a problem).
Any insight into why the weather.com function is not working on pyanywhere?
Thanks in advance for your help.