News for hackers. Stuff that matters.
Re:Time to sunburn by mywittyname on Tuesday June 15, 2021 @04:22PM (#27521004)
I think you're API key might be out of requests. I'm getting this error, no matter what location I put in, even though the Location block correctly returns the coordinates for whatever city I put in.

    Exception                                 
    Traceback (most recent call last)
    <ipython-input-5-9b29f394b1fd> in <module>
          7 location_response = requests.get(f'https://api.opencagedata.com/geocode/v1/json?key={OPENCAGEDATA_API_KEY}&q={Location}&no_annotations=1&limit=1')
          8 if not location_response.ok:
    ----> 9     raise Exception('Location not found')
         10 
         11 location_json = location_response.json()

    Exception: Location not found
Re:Time to sunburn by mtmail on Tuesday June 15, 2021 @05:26PM (#27521727)
OpenCage here. We set a higher number of requests for the user now, seems to work again.
Re:Time to sunburn by jstastny on Wednesday June 16, 2021 @10:51AM (#27529157)
Hello OpenCage. Jan from Deepnote here. Thanks a lot for increasing the limit! Very much appreciated.