mirror of
https://github.com/hakanensari/frankfurter.git
synced 2024-11-22 11:02:30 +01:00
102 lines
2.6 KiB
HTML
102 lines
2.6 KiB
HTML
<!doctype html>
|
|
<html>
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta name="description" content="Fixer is a JSON and JSONP API for foreign exchange rates.">
|
|
<title>Fixer</title>
|
|
<link href='http://fonts.googleapis.com/css?family=Open+Sans' rel='stylesheet' type='text/css'>
|
|
<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>
|
|
<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%);
|
|
color: #333;
|
|
font: 15px/1.5 'Open Sans', sans-serif;
|
|
}
|
|
#wrapper {
|
|
margin: 0 auto;
|
|
max-width: 460px;
|
|
padding: 10px;
|
|
}
|
|
header {
|
|
padding: 3em 0;
|
|
}
|
|
header h1 {
|
|
font: bold 36px/1.25 'Open Sans', sans-serif;
|
|
}
|
|
p {
|
|
padding-bottom: 1em;
|
|
}
|
|
code {
|
|
border-radius: 5px;
|
|
-moz-border-radius: 5px;
|
|
-webkit-border-radius: 5px;
|
|
background: #fff;
|
|
border: 1px solid #ccc;
|
|
display: block;
|
|
font-size: 11px;
|
|
margin-bottom: 2em;
|
|
padding: 1em;
|
|
}
|
|
code:before {
|
|
color: #006ce1;
|
|
content: '$ ';
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div id="wrapper">
|
|
<header>
|
|
<h1>Fixer: A JSON and JSONP API for exchange rates</h1>
|
|
</header>
|
|
|
|
<p>
|
|
Get the latest foreign exchange reference rates, quoted against the
|
|
euro.
|
|
</p>
|
|
<code>
|
|
curl http://fixer.io/latest
|
|
</code>
|
|
|
|
<p>
|
|
Quote against another currency.
|
|
</p>
|
|
<code>
|
|
curl http://fixer.io/latest?base=USD
|
|
</code>
|
|
|
|
<p>
|
|
Get a historical snapshot.
|
|
</p>
|
|
<code>
|
|
curl http://fixer.io/2000-01-03
|
|
</code>
|
|
|
|
<p>
|
|
Thank you,
|
|
<a href="http://www.ecb.int/stats/exchange/eurofxref/html/index.en.html">Europe</a>.
|
|
</p>
|
|
|
|
</div>
|
|
</body>
|
|
</html>
|