arduino ethernet api

Hi people.

I' am working on a project that turns off en on the lights depending on sunset and sunrise.
Now I want to get that information out of a weather api but I don't have much experience with arduino ethernet and get information from an api yet.
So I hope that somebody out there can help me.

greetings
Breuce

A starting point, though you may have already been there.

http://blog.ricardofilipe.com/post/johnny-five-weather-station

https://create.arduino.cc/projecthub/officine/getting-weather-data-655720?f=1