Skip to content

Instantly share code, notes, and snippets.

View jandolezal's full-sized avatar

Jan Doležal jandolezal

View GitHub Profile
@jandolezal
jandolezal / getAddress.gs
Created June 1, 2021 14:39
Google Apps Script custom function for Google Sheets returning address from Czech company id
/*
* Get basic string address from ARES XML service in format
* 'street street_number, postcode city' based on ičo (company id).
* API description:
* https://wwwinfo.mfcr.cz/ares/ares_xml.html.cz#k3
* https://wwwinfo.mfcr.cz/ares/ares_xml_standard.html.cz
* Custom function to be used in Google Sheets.
*/
function getAddress(ico) {