Current Bitcoin Cash Price Image
Mar 26, 2018Update: The Coinmarketcap API where the data driving these images came from now requires a key, so the images below no longer work (all display $0.00). Ah well, it was fun while it lasted.
This post showcases a PHP script that dynamically requests the current price of Bitcoin Cash (BCH) in USD and displays it as a customisable image. This image URL is suitable for embedding in, for example, forum post signatures, and posting in Slack, Discord or Telegram channels. By default, it will appear with a green logo and grey text.
By adding query variables, you can change both the logo colour and the text colour.
The logo can appear in white, black, green and orange by using the "c" variable:
The text can appear in white, grey and black by using the "t" variable"
The variables can also be used together with &. The following image selects the black logo with black text.
The price is fetched every 15 minutes from the Coinmarketcap.com API.
Let me know how you'd like me to improve this image generator!
⇐ Iguana no Musume / Iguana Girl | activeImageMap script ⇒ |