1. Remco Raaijmakers
  2. EK API


EK API / documentation.html

<!DOCTYPE html>
<html lang="en">
    <meta charset="utf-8">
    <title>Bootstrap, from Twitter</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="description" content="">
    <meta name="author" content="">

    <!-- Le styles -->
    <link href="css/bootstrap.css" rel="stylesheet">
      body {
        padding-top: 60px; /* 60px to make the container go all the way to the bottom of the topbar */
    <link href="css/bootstrap-responsive.css" rel="stylesheet">

    <!-- Le HTML5 shim, for IE6-8 support of HTML5 elements -->
    <!--[if lt IE 9]>
      <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>


    <div class="navbar navbar-fixed-top">
      <div class="navbar-inner">
        <div class="container">
          <a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
          <a class="brand" href="#">EK API</a>
          <div class="nav-collapse">
            <ul class="nav">
              <li class="active"><a href="#">Home</a></li>
              <li><a href="#countries">Landen</a></li>
              <li><a href="#matches">Wedstrijden</a></li>
          </div><!--/.nav-collapse -->

    <div class="container">
		<h1><a name="countries"></a>Landen</h1>
		<div class="well">
				<dt><span class="label label-info">GET</span> /countries.(xml|json)</dt>
				<dd>Haal alle landen op die meespelen</dd>

		<pre><span class="label label-info">GET</span> /countries.(xml|json)
			<h4>Haal alle landen op die meespelen</h4></pre>
		<pre><span class="label label-info">GET</span> /countries/([A-D].(xml|json)
			<h4>Haal alle landen van een groep op. Mogelijkheden: A, B, C en D</h4></pre>	
		<pre><span class="label label-info">GET</span> /countries/([a-z]{2}).(xml|json)
			<h4>Haal de informatie op van een land.</h4></pre>	
GET /countries/([a-z]{2}).(xml|json)
	De detail info van een land

GET /matches/{id}

GET /matches.(xml|json)
	Alle wedstrijden

GET /matches/{wedstrijd nummer}.(xml|json)
	<dl class="dl-horizontal">	
		<h1><a name="matches"></a>Landen</h1>
      <p>Use this document as a way to quick start any new project.<br> All you get is this message and a barebones HTML document.</p>

    </div> <!-- /container -->

    <!-- Le javascript
    ================================================== -->
    <!-- Placed at the end of the document so the pages load faster -->
    <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
    <script src="js/bootstrap.min.js"></script