Beta version of CoinVis released

CoinVis is a simple WordPress Plugin that adds shortcodes and a widget for showing up to date cryptocurrency data pulled from the coinmarketcap api.

Download the zip file here coinvis

Or to clone or fork - github.com/alpual

To install - go to add a new plugin, then choose to upload a zip file. Provide this file, and activate.

For info on how the shortcodes work - see the previous post.

Some boring fine print -
This is a beta version of the plugin - use freely, but no guarantees are made as to this plugin's security or functionality. The plugin is based on the g3 licensed, awesome WordPress Plugin Generator by Michael Simpson

Coin Vis Plugin

Default plugin use

Using shortcode defaults, default coin is bitcoin, displays all data:

bitcoin

  • Price (USD): $0.00 
  • Percent Change Last Hour: 0.00%
  • Percent Change Last Day: 0.00%
  • Percent Change Last Week: 0.00%
  • Market Cap: $0.0  
  • 24 Hour Volume: $0.0  
  • Available Coin Supply: 0.0  
  • Total Supply: 0.0  

bitcoin

  • Price (USD): $0.00 
  • Percent Change Last Hour: 0.00%
  • Percent Change Last Day: 0.00%
  • Percent Change Last Week: 0.00%
  • Market Cap: $0.0  
  • 24 Hour Volume: $0.0  
  • Available Coin Supply: 0.0  
  • Total Supply: 0.0  

Specifying a coin

Using shortcode with coin specified as ethereum:

ethereum

  • Price (USD): $0.00 
  • Percent Change Last Hour: 0.00%
  • Percent Change Last Day: 0.00%
  • Percent Change Last Week: 0.00%
  • Market Cap: $0.0  
  • 24 Hour Volume: $0.0  
  • Available Coin Supply: 0.0  
  • Total Supply: 0.0  

ethereum

  • Price (USD): $0.00 
  • Percent Change Last Hour: 0.00%
  • Percent Change Last Day: 0.00%
  • Percent Change Last Week: 0.00%
  • Market Cap: $0.0  
  • 24 Hour Volume: $0.0  
  • Available Coin Supply: 0.0  
  • Total Supply: 0.0  

Getting a single value

Using shortcode to get a specific datapoint from the API,
for example:

0 returns  0 

0 returns  0 

acceptable values for datapoint are

name
symbol
rank
price_usd
price_btc
24h_volume_usd
market_cap_usd
available_supply
total_supply
percent_change_1h
percent_change_24h
percent_change_7d
last_updated

Hello world!

via my plugin:

bitcoin

  • Price (USD): $0.00 
  • Percent Change Last Hour: 0.00%
  • Percent Change Last Day: 0.00%
  • Percent Change Last Week: 0.00%
  • Market Cap: $0.0  
  • 24 Hour Volume: $0.0  
  • Available Coin Supply: 0.0  
  • Total Supply: 0.0  

and via widget

  • Bitcoin widget

    • Price (USD): $
    • Percent Change Last Hour: %
    • Percent Change Last Day: %
    • Percent Change Last Week: %