SERVICEWEB
Obtenez du contenu web à partir d'une URI.
Syntaxe
SERVICEWEB(URI)
URI : texte URI d'un service web.
Exemple
=SERVICEWEB("http://api.openweathermap.org/data/2.5/forecast?q=Copenhagen,dk&mode=xml&units=metric")
Renvoie le contenu de la page web de "http://api.openweathermap.org/data/2.5/forecast?q=Copenhagen,dk&mode=xml&units=metric"
FILTREXML
Applique une expression XPath à un document XML.
Syntaxe
FILTREXML(document XML;expression XPath)
document XML (requis) :chaîne contenant un flux XML valide.
expression XPath (requis) : chaîne contenant une expression XPath correcte.
Exemple
=FILTREXML(SERVICEWEB("http://api.openweathermap.org/data/2.5/forecast?q=Copenhagen,dk&mode=xml&units=metric");"number(/weatherdata/forecast/time[2]/temperature/@value)")
Renvoie des informations sur la température de Copenhague.