summary refs log tree commit diff
path: root/index.html
blob: 0fe0535762ee911d5e32c0d98905576c63c7280a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="description" content="spore specifications">
    <meta name="author" content="spore">
    <!--<link rel="icon" href="favicon.ico">-->

    <title>Spore</title>

    <!-- Bootstrap core CSS -->
    <link href="bower_components/bootstrap/dist/css/bootstrap.min.css" rel="stylesheet">

    <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
    <!--[if lt IE 9]>
      <script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
      <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
    <![endif]-->

    <link href="carousel.css" rel="stylesheet">
  </head>
<!-- NAVBAR
================================================== -->
  <body>
    <div class="navbar-wrapper">
      <div class="container">

        <nav class="navbar navbar-inverse navbar-static-top">
          <div class="container">
            <div class="navbar-header">
              <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
                <span class="sr-only">Toggle navigation</span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
              </button>
              <a class="navbar-brand" href="#">SPORE</a>
            </div>
            <div id="navbar" class="navbar-collapse collapse">
              <ul class="nav navbar-nav">
                <li class="active"><a href="#">Home</a></li>
                <li><a href="https://github.com/SPORE">Github</a></li>
                <li><a href="https://groups.google.com/forum/#!forum/spore-rest">Discussions</a></li>
              </ul>
            </div>
          </div>
        </nav>

      </div>
    </div>


    <!-- Carousel
    ================================================== -->
    <div id="myCarousel" class="carousel slide" data-ride="carousel">
      <!-- Indicators -->
      <ol class="carousel-indicators">
        <li data-target="#myCarousel" data-slide-to="0" class="active"></li>
        <li data-target="#myCarousel" data-slide-to="1"></li>
        <li data-target="#myCarousel" data-slide-to="2"></li>
      </ol>
      <div class="carousel-inner" role="listbox">
        <div class="item active">
          <img class="first-slide" src="img/businessmans.jpg" alt="First slide">
          <div class="container">
            <div class="carousel-caption">
              <h1>SPORE - Specification to a POrtable Rest Environment</h1>
              <p>SPORE is a way to describe public services HTTP APIs using a language-agnostic JSON document that can be used by language-specific implementations to dynamically or statically generate high level client objects.</p>
              <p><a class="btn btn-lg btn-primary" href="https://github.com/SPORE" role="button">Fork me!</a></p>
            </div>
          </div>
        </div>
        <div class="item">
          <img class="second-slide" src="img/businessmans3.jpg" alt="Second slide">
          <div class="container">
            <div class="carousel-caption">
              <h1>Discussions</h1>
              <p>You can join the following mailing list to talk about spore specifications.</p>
              <p><a class="btn btn-lg btn-primary" href="https://groups.google.com/forum/#!forum/spore-rest" role="button">Join us!</a></p>
            </div>
          </div>
        </div>
        <div class="item">
          <img class="third-slide" src="img/businessmans2.jpg" alt="Third slide">
          <div class="container">
            <div class="carousel-caption">
              <h1>Implementations</h1>
              <p>The implementation of your favored language is already available! Clojure, Javascript, Lua, Nodejs, Perl, Python, Ruby, Livescript, Groovy.</p>
              <p><a class="btn btn-lg btn-primary" href="https://github.com/SPORE/specifications" role="button">Specification</a></p>
            </div>
          </div>
        </div>
      </div>
      <a class="left carousel-control" href="#myCarousel" role="button" data-slide="prev">
        <span class="glyphicon glyphicon-chevron-left" aria-hidden="true"></span>
        <span class="sr-only">Previous</span>
      </a>
      <a class="right carousel-control" href="#myCarousel" role="button" data-slide="next">
        <span class="glyphicon glyphicon-chevron-right" aria-hidden="true"></span>
        <span class="sr-only">Next</span>
      </a>
    </div><!-- /.carousel -->


    <!-- Clients and featurettes
    ================================================== -->
    <!-- Wrap the rest of the page in another container to center all the content. -->

    <div class="container marketing">

      <!-- Nine columns of text below the carousel -->
      <div class="row" id="clients">
        <div class="col-lg-4">
          <img class="img-circle" src="img/lua.gif" alt="lua" width="140" height="140">
          <h2>Lua</h2>
          <p>Take a look at lua-Spore.</p>
          <p><a class="btn btn-default" href="https://github.com/fperrad/lua-Spore/" role="button">View details &raquo;</a></p>
        </div><!-- /.col-lg-4 -->
        <div class="col-lg-4">
          <img class="img-circle" src="img/python.png" alt="python" width="140" height="140">
          <h2>Python</h2>
          <p>Take a look at Britney.</p>
          <p><a class="btn btn-default" href="https://github.com/agrausem/britney" role="button">View details &raquo;</a></p>
        </div><!-- /.col-lg-4 -->
        <div class="col-lg-4">
          <img class="img-circle" src="img/clojure.png" alt="clojure" width="140" height="140">
          <h2>Clojure</h2>
          <p>Take a look at clj-spore.</p>
          <p><a class="btn btn-default" href="https://github.com/ngrunwald/clj-spore" role="button">View details &raquo;</a></p>
        </div><!-- /.col-lg-4 -->
      </div><!-- /.row -->

      <div class="row">
        <div class="col-lg-4">
          <img class="img-circle" src="img/nodejs.png" alt="nodejs" width="140" height="140">
          <h2>Node.js</h2>
          <p>Take a look at node-spore.</p>
          <p><a class="btn btn-default" href="https://github.com/francois2metz/node-spore" role="button">View details &raquo;</a></p>
        </div><!-- /.col-lg-4 -->
        <div class="col-lg-4">
          <img class="img-circle" src="img/groovy.png" alt="groovy" width="140" height="140">
          <h2>Groovy</h2>
          <p>Take a look at gspore.</p>
          <p><a class="btn btn-default" href="https://github.com/unistra/gspore" role="button">View details &raquo;</a></p>
        </div><!-- /.col-lg-4 -->
        <div class="col-lg-4">
          <img class="img-circle" src="img/perl.jpg" alt="perl" width="140" height="140">
          <h2>Perl</h2>
          <p>Take a look at net-http-spore.</p>
          <p><a class="btn btn-default" href="https://github.com/franckcuny/net-http-spore" role="button">View details &raquo;</a></p>
        </div><!-- /.col-lg-4 -->
      </div><!-- /.row -->

      <div class="row">
        <div class="col-lg-4">
          <img class="img-circle" src="img/ruby.png" alt="ruby" width="140" height="140">
          <h2>Ruby</h2>
          <p>Take a look at Ruby-Spore.</p>
          <p><a class="btn btn-default" href="https://github.com/sukria/Ruby-Spore" role="button">View details &raquo;</a></p>
        </div><!-- /.col-lg-4 -->
        <div class="col-lg-4">
          <img class="img-circle" src="img/jquery.png" alt="jquery" width="140" height="140">
          <h2>Jquery</h2>
          <p>Take a look at jquery-spore.</p>
          <p><a class="btn btn-default" href="https://github.com/nikopol/jquery-spore" role="button">View details &raquo;</a></p>
        </div><!-- /.col-lg-4 -->
        <div class="col-lg-4">
          <img class="img-circle" src="img/livescript.png" alt="livescript" width="140" height="140">
          <h2>LiveScript</h2>
          <p>Take a look at ls-spore.</p>
          <p><a class="btn btn-default" href="https://github.com/unistra/ls-spore" role="button">View details &raquo;</a></p>
        </div><!-- /.col-lg-4 -->
      </div><!-- /.row -->

      <!-- START THE FEATURETTES -->

      <hr class="featurette-divider">

      <div class="row featurette">
        <div class="col-md-5">
          <h2 class="featurette-heading">API Description</h2>
          <p class="lead">Describe your API with a JSON file.</p>
          <p><a class="btn btn-default" href="https://github.com/SPORE/specifications/blob/master/spore_description.pod" role="button">Description &raquo;</a>
          <a class="btn btn-default" href="https://github.com/SPORE/api-description" role="button">Examples &raquo;</a></p>
        </div>
        <div class="col-md-7">
            <code><pre>
{
  "base_url": "http://github.com/api/v2/",
  "version": "0.4",
  "methods": {
    "list_commits": {
      "path": "/:format/commits/list/:user/:repo/:branch",
      "method": "GET",
      "required_params": ["format", "user", "repo", "branch"]
    },
    "list_file_commits": {
      "path": "/:format/commits/list/:user/:repo/:branch/:path",
      "method": "GET",
      "required_params": ["format", "user", "repo", "branch", "path"]
    },
    "get_commit_info": {
      "path": "/:format/commits/show/:user/:repo/:sha",
      "method": "GET",
      "required_params": ["format", "user", "repo", "sha"]
    }
  },
  "expected_status": [200],
  "name": "GitHub",
  "authority": "http://github.com/SPORE",
  "meta": {
    "documentation": "http://develop.github.com/",
    "module": "commit"
  }
}
            </pre></code>
        </div>
      </div>

      <hr class="featurette-divider">


      <div class="row featurette">
        <div class="col-md-7">
          <h2 class="featurette-heading">Use a client implementation to request your API ...</span></h2>
          <p class="lead">The clients for Clojure, Javascript, Lua, Nodejs, Perl, Python, Ruby, Livescript and Groovy are already here.</p>
          <p><a class="btn btn-default" href="#clients" role="button">Clients &raquo;</a></p>
        </div>
        <div class="col-md-5"></div>
      </div>

      <hr class="featurette-divider">

      <div class="row featurette">
        <div class="col-md-7 col-md-push-5">
          <h2 class="featurette-heading">... or create your own client for your favorite language.</h2>
          <p class="lead">Follow the specification to create your own client implementation and contribute to the spore community.</p>
          <p><a class="btn btn-default" href="https://github.com/SPORE/specifications/blob/master/spore_implementation.pod" role="button">Client implementation &raquo;</a></p>
        </div>
        <div class="col-md-5 col-md-pull-7"></div>
      </div>


      <hr class="featurette-divider">

      <!-- /END THE FEATURETTES -->


      <!-- FOOTER -->
      <footer>
        <p class="pull-right"><a href="#">Back to top</a></p>
        <p>&copy; 2015 spore.github.io</p>
      </footer>

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


    <!-- Bootstrap core JavaScript
    ================================================== -->
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
    <script>window.jQuery || document.write('<script src="bower_components/jquery/dist/jquery.min.js"><\/script>')</script>
    <script src="bower_components/bootstrap/dist/js/bootstrap.min.js"></script>
  </body>
</html>