Skip to content

Instantly share code, notes, and snippets.

@maaduukaar
Last active July 10, 2025 08:23
Show Gist options
  • Save maaduukaar/274d17ec28f7fd30b0b91c990b9f8ae8 to your computer and use it in GitHub Desktop.
Save maaduukaar/274d17ec28f7fd30b0b91c990b9f8ae8 to your computer and use it in GitHub Desktop.
Get Toncoin rate to Google Spreadsheets
EN:
=VALUE(SUBSTITUTE(IMPORTXML("https://coinmarketcap.com/currencies/toncoin/"; "//span[@data-test='text-cdp-price-display']"); "$"; ""))
RU:
=ЗНАЧЕН(ПОДСТАВИТЬ(ПОДСТАВИТЬ(IMPORTXML("https://coinmarketcap.com/currencies/toncoin/"; "//span[@data-test='text-cdp-price-display']"); "$"; ""); "."; ","))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment