Skip to content

Instantly share code, notes, and snippets.

@armonge
Created October 13, 2012 14:35
Show Gist options
  • Save armonge/3884840 to your computer and use it in GitHub Desktop.
Save armonge/3884840 to your computer and use it in GitHub Desktop.
from suds.client import Client
year = 2012
month = 10
client = Client('https://servicios.bcn.gob.ni/Tc_Servicio/ServicioTC.asmx?WSDL')
for data in client.service.RecuperaTC_Mes(year,month)[0][0]:
print u'{fecha}: {valor}'.format(fecha=data['Fecha'], valor=data['Valor'])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment