News for hackers. Stuff that matters.
Re:Weather widget reverse engineering and automation by galloafro on Wednesday June 17, 2020 @01:01PM (#23553750)
I would love some insight on how you found that out. I searched but was unable to find anything related to an API. And it is way better than what I achieved, since for some places (Yosemite Valley for example) the coordinates obtained from Open Cage's API differ to much from the ones expected by WeatherWidget.io to be corrected via trial and error.
Re:Weather widget reverse engineering and automation by bluesign on Wednesday June 17, 2020 @04:06PM (#23556076)
Basically as sibling poster said, networks tab in browser tool for XHR requests.

Then from there you can use right click -> copy as curl.

Then https://curl.trillworks.com/ to convert curl request to language of your choice.

Re:Weather widget reverse engineering and automation by uj8efdkjfdshf on Wednesday June 17, 2020 @01:45PM (#23554332)
There are many ways to do this, but the easiest way is to look at the Network tab in the browser developer tools as you load the page, type an address in, and generate the code.