frankfurter/public/index.html

102 lines
2.7 KiB
HTML
Raw Normal View History

2012-11-20 17:36:12 +01:00
<!doctype html>
<html>
<head>
<meta charset="utf-8">
2012-11-20 20:17:56 +01:00
<meta name="description" content="Fixer is a JSON and JSONP API for foreign exchange rates.">
2012-11-20 17:36:12 +01:00
<title>Fixer</title>
2012-11-20 20:17:56 +01:00
<link href='http://fonts.googleapis.com/css?family=Open+Sans' rel='stylesheet' type='text/css'>
2012-11-20 17:36:12 +01:00
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-36475354-1']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>
2012-11-20 20:17:56 +01:00
<style type="text/css">
* {
margin: 0;
padding: 0;
}
body, html {
height: 100%;
}
body {
background: -linear-gradient(left, #fff 0%, #eee 100%);
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%);
2012-11-21 14:06:51 +01:00
color: #333;
font: 15px/1.5 'Open Sans', sans-serif;
2012-11-20 20:17:56 +01:00
}
#wrapper {
2012-11-21 14:06:51 +01:00
margin: 0 auto;
max-width: 460px;
padding: 10px;
2012-11-20 20:17:56 +01:00
}
2012-11-20 20:32:26 +01:00
header {
2012-11-21 14:06:51 +01:00
padding: 3em 0;
2012-11-20 20:32:26 +01:00
}
2012-11-20 20:17:56 +01:00
header h1 {
font: bold 36px/1.25 'Open Sans', sans-serif;
}
2012-11-21 14:06:51 +01:00
p {
padding-bottom: 1em;
2012-11-20 20:17:56 +01:00
}
code {
border-radius: 5px;
-moz-border-radius: 5px;
-webkit-border-radius: 5px;
background: #fff;
border: 1px solid #ccc;
display: block;
font-size: 11px;
2012-11-21 14:06:51 +01:00
margin-bottom: 2em;
padding: 1em;
2012-11-20 20:17:56 +01:00
}
code:before {
color: #006ce1;
content: '$ ';
}
</style>
2012-11-20 17:36:12 +01:00
</head>
<body>
2012-11-20 20:17:56 +01:00
<div id="wrapper">
<header>
<h1>Fixer: A JSON and JSONP API for exchange rates</h1>
</header>
2012-11-21 14:06:51 +01:00
<p>
Get the latest foreign exchange reference rates, quoted against the
euro.
</p>
<code>
curl http://fixer.io/latest
</code>
2012-11-20 20:32:26 +01:00
2012-11-21 14:06:51 +01:00
<p>
Quote against another currency.
</p>
<code>
curl http://fixer.io/latest?base=USD
</code>
<p>
2012-11-20 20:32:26 +01:00
Get a historical snapshot.
2012-11-21 14:06:51 +01:00
</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>
2012-11-20 20:32:26 +01:00
2012-11-20 20:17:56 +01:00
</div>
2012-11-20 17:36:12 +01:00
</body>
</html>