Update README

This commit is contained in:
Hakan Ensari 2012-11-21 13:06:51 +00:00
parent 663f0a038b
commit 9b77466273

View File

@ -29,25 +29,22 @@
background: -ms-linear-gradient(left, #fff 0%, #eee 100%);
background: -moz-linear-gradient(left, #fff 0%, #eee 100%);
background: -webkit-linear-gradient(left, #fff 0%, #eee 100%);
color: #333;
font: 15px/1.5 'Open Sans', sans-serif;
}
#wrapper {
margin: 5% auto;
max-width: 680px;
padding: 20px;
margin: 0 auto;
max-width: 460px;
padding: 10px;
}
header {
padding-bottom: 30px;
padding: 3em 0;
}
header h1 {
font: bold 36px/1.25 'Open Sans', sans-serif;
}
section {
padding-top: 24px;
}
.doc {
color: #333;
font: 15px/1.5 'Open Sans', sans-serif;
padding-right: 50px;
p {
padding-bottom: 1em;
}
code {
border-radius: 5px;
@ -57,8 +54,8 @@
border: 1px solid #ccc;
display: block;
font-size: 11px;
padding: 10px;
width: 360px;
margin-bottom: 2em;
padding: 1em;
}
code:before {
color: #006ce1;
@ -72,28 +69,32 @@
<h1>Fixer: A JSON and JSONP API for exchange rates</h1>
</header>
<section class="doc">
<p>
Get the latest foreign exchange reference rates, quoted against the
euro.
</p>
</section>
<section class="sample">
<code>
curl http://fixer.io/latest
</code>
</section>
<p>
Get the latest foreign exchange reference rates, quoted against the
euro.
</p>
<code>
curl http://fixer.io/latest
</code>
<section class="doc">
<p>
<p>
Quote against another currency.
</p>
<code>
curl http://fixer.io/latest?base=USD
</code>
<p>
Get a historical snapshot.
</p>
</section>
<section class="sample">
<code>
curl http://fixer.io/2000-01-03
</code>
</section>
</p>
<code>
curl http://fixer.io/2000-01-03
</code>
<p>
We source the rates from the European Central Bank and
<a href="http://www.ecb.int/stats/exchange/eurofxref/html/index.en.html">update daily by 2pm UTC</a>.
</p>
</div>
</body>