These are very simple API's that gather data on the fly.
More complex API's involve advanced programming such as in .Net and C#.
I have experience working on a team that created a complex RESTful API when I worked at the State of Georgia. Specifically I worked on the mapper portion, which maps data-points from an online form into classes inside C# code.
Once completed the API allowed for secure data to be transmitted via the web.
API that interacts with Github and allows you to easily and quickly search for any Github user.
Find Github UsersAPI that displays current wind and weather information.
Display Current Weather Information