Skip to content

Instantly share code, notes, and snippets.

@christ776
Created April 25, 2019 21:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save christ776/2ce863ecf843ddbda52831904a3cbfe4 to your computer and use it in GitHub Desktop.
Save christ776/2ce863ecf843ddbda52831904a3cbfe4 to your computer and use it in GitHub Desktop.
curl -s https://www.bancogalicia.com/cotizacion/cotizar\?currencyId\=02\&quoteType\=SU\&quoteId\=999 | python -c "import sys, json; obj = json.load(sys.stdin);print('Dolar compra: ' + obj['buy']); print('Dolar venta: '+ obj['sell'])"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment