Internet Data Services

Hello Everybody.

Sorry, this is a new field for me, so I have to ask stupid questions sometimes…

What is the name of internet services that provide data as a single information on request – e,g, if I use the address in a script, there will be only a certain value transmitted like “time of sunset” or “day of year”?

Ahh, yes, and how do I integrate this data in a scrip?
Is there any watchface with external data from which I can learn?