Skip to content

Commit

Permalink
add documentation, fixes #41 and #47
Browse files Browse the repository at this point in the history
  • Loading branch information
benib authored and fabian committed Apr 9, 2012
1 parent ebff335 commit b41da22
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions web/index.html
Expand Up @@ -221,6 +221,36 @@ <h4>Request Parameters</h4>
<td>Time of the connection, in the format hh:mm</td>
<td>17:30</td>
</tr>
<tr>
<td><code>transportations</code></td>
<td>optional</td>
<td>transportation means, one or more of ice_tgv_rj, ec_ic, ir, re_d, ship, s_sn_r, bus, cableway, arz_ext, tramway_underground</td>
<td>?transportations[]=ec_ic&amp;transportations[]=bus</td>
</tr>
<tr>
<td><code>direct</code></td>
<td>optional</td>
<td>defaults to 0, if set to 1 only direct connections are allowed</td>
<td>1</td>
</tr>
<tr>
<td><code>sleeper</code></td>
<td>optional</td>
<td>defaults to 0, if set to 1 only night trains containing beds are allowed, implies direct=1</td>
<td>1</td>
</tr>
<tr>
<td><code>couchette</code></td>
<td>optional</td>
<td>defaults to 0, if set to 1 only night trains containing couchettes are allowed, implies direct=1</td>
<td>1</td>
</tr>
<tr>
<td><code>bike</code></td>
<td>optional</td>
<td>defaults to 0, if set to 1 only trains allowing the transport of bicycles are allowed</td>
<td>1</td>
</tr>
</tbody>
</table>

Expand Down Expand Up @@ -350,6 +380,12 @@ <h4>Request Parameters</h4>
</td>
<td>15</td>
</tr>
<tr>
<td><code>transportations</code></td>
<td>optional</td>
<td>transportation means, one or more of ice_tgv_rj, ec_ic, ir, re_d, ship, s_sn_r, bus, cableway, arz_ext, tramway_underground</td>
<td>?transportations[]=ec_ic&amp;transportations[]=bus</td>
</tr>
</tbody>
</table>

Expand Down

0 comments on commit b41da22

Please sign in to comment.