Skip to content

Instantly share code, notes, and snippets.

View lucianolacurcia's full-sized avatar

Luciano Lacurcia lucianolacurcia

  • Montevideo, Uruguay
View GitHub Profile
@lucianolacurcia
lucianolacurcia / gist:530c766e9c30757dfe9f52525f438ae9
Created July 11, 2022 18:15
Send multiple metrics at once to graphite
printf "foo.bar.baz;tag1=value1;tag2=value2 1500 `date +%s`\nfoo.bar.baz;tag1=value1;tag2=value2 2500 `date +%s -d "1 minute ago"`\nfoo.bar.baz;tag1=value1;tag2=value2 3500 `date +%s -d "2 minute ago"`" | nc -w 1 <graphite host> <graphite port>
@lucianolacurcia
lucianolacurcia / bcuapi.md
Last active March 3, 2026 21:06
BCU API - Uruguay - Obtener cotizaciones - minidocs

Cotizaciones BCU:

Para obtener las cotizaciones del Banco Central de Uruguay a través de su API se debe llamar al enpoint:

https://cotizaciones.bcu.gub.uy/wscotizaciones/servlet/awsbcucotizaciones?wsdl

Utilizando el método http POST, añadiendo en el body de la solicitud, un xml con el sigiuente formato:

<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:cot="Cotiza">
   <soapenv:Header />