Document Actions

Conectar con el meteocat vía SOAP

Código base para conectar con el meteocat desde zope para recoger el tiempo.

Conexión al Meteocat desde python


from SOAPpy import SOAPProxy
cliente = SOAPProxy('http://www.meteocatserveis.com/webservices/comarcal.php')
cliente.comarcal(comarcal={'clau':"LACLAVEQUETEDEB",'codi':"CODIGODELAPROVINCIA"})

requiere: SOAPpy-0.12.0 (requiere fpconst-0.7.2)