added currency support checking

This commit is contained in:
Joshua Seigler 2016-07-01 01:05:49 -04:00
parent 6bf60b716e
commit 27cd5fa4e8
3 changed files with 52 additions and 16 deletions

View file

@ -54,16 +54,16 @@
<section>
<h2>Poloniex Dash/BTC Price</h2>
<figure>
<img src="/charts/dark/dash/7d/svg" alt="Poloniex Dash/BTC price">
<img src="/charts/dark/dash-btc/7d/svg" alt="Poloniex Dash/BTC price">
<figcaption>7 Day Dash price in BTC <code>http://cryptohistory.org/charts/dark/dash-btc/7d/svg</code></figcaption>
</figure>
</section>
<section>
<h2>Build your own chart:</h2>
<p>The URL is flexible:<br>
<code>http://cryptohistory.org/charts/{theme}/{currency}/{timespan}/{format}</code>.</p>
<code>http://cryptohistory.org/charts/{theme}/{currency}-btc/{timespan}/{format}</code>.</p>
<p>Theme: <code>dark</code> or <code>light</code>. (More planned)</p>
<p>Currency: anything active on Poloniex.</p>
<p>Currency: anything active on Poloniex. Prices are all in bitcoin.</p>
<p>Timespan: <code>30d</code>, <code>7d</code>, or <code>24h</code>. (More planned)</p>
<p>Format: <code>svg</code> (best) or <code>png</code>.</p>
</section>