This is a slightly more specialized and modernized version of an old project you can check out here
Display the top 10 crypto curriencies (by market cap) of the day via shortcode after installing this plugin!
- Download the repo
- Upload the zip file via plugin upload in WordPress
- Activate the plugin in the dashboard
- Go make an API demo account on CoinGecko
- Paste your shiny new API key into the settings page
- Now you can paste this shortcode in a text block
[crypto_prices]
and see the top 10 crypto prices!
Uses the CoinGecko API to pull in a list of digital currencies and display them via shortcode.
CoinGecko does require an API key which is why I made the handy settings page where you can add it.
I also love that this plugin is really is just a single file just a tad over 100 lines so you can look it over and mess with it as you please!
If it works right out of the box but breaks shortly after installation, you probably didn't add the API key in the settings or there's a typo in it. For better or worse CoinGecko's API will work once or twice with no key required.