Skip to content

Latest commit

 

History

History
38 lines (33 loc) · 1.12 KB

README.md

File metadata and controls

38 lines (33 loc) · 1.12 KB

Crypto Tools - cryptocoin website widgets

  • price widget for bitcoin, litecoin, primecoin, peercoin, dogecoin
  • bitcoin price in many fiat currencies
  • ability to add your crypto currency
  • Demo at http://cryptotools.ulkas.eu

###install

  • requires jquery
//add this at the end of your html before </body>
<script src="js/cryptotools.js"></script>
//alternativelly
<script src="https://raw.githubusercontent.com/ulkas/CryptoTools/master/js/cryptotools.js"></script>

###usage

basic bitcoin price:
<div class="ctprice"></div>
litecoin price:
<div class="ctprice" data-for="ltc"></div>
litecoin price in EUR:
<div class="ctprice" data-for="ltc" data-currency="eur"></div>
primecoin price in PPC:
<div class="ctprice" data-for="xpm" data-currency="ppc"></div>
bitcoin price in Costa Rica Colon:
<div class="ctprice" data-for="btc" data-currency="crc"></div>

###TODO

  • asynchronous ajax call to the exchange api
  • add another design class - fancy - with odometer.js animation
  • refactor the code
  • refactor the code to erase the jquery parts and leave pure javascript

###Thanks