{% extends "passerelle/manage/service_view.html" %}
{% load i18n passerelle %}

{% block endpoints %}
<p>
{% blocktrans %}
The API is a partial view of <a href="http://wiki.openstreetmap.org/wiki/Nominatim">Nominatim</a>
own API; it currently doesn't support all parameters and is limited to the JSON
format.
{% endblocktrans %}
</p>

<ul>
<li>{% trans 'Geocoding:' %} <a href="search?q=169 rue du chateau, paris&format=json"
  >{{ site_base_uri }}{{ object.get_absolute_url }}search</a>?q=<i>q</i>&amp;format=json</li>
<li>{% trans 'Reverse geocoding:' %} <a href="reverse?lat=48.833708&amp;lon=2.323349&amp;format=json"
  >{{ site_base_uri }}{{ object.get_absolute_url }}reverse</a>?lat=<i>lat</i>&amp;lon=<i>lon</i>&amp;format=json</li>
<li>{% trans 'Streets from zipcode:' %} <a href="streets?zipcode={{object.zipcode}}&amp;format=json"
  >{{ site_base_uri }}{{ object.get_absolute_url }}streets</a>?zipcode=<i>zipcode</i>&amp;format=json</li>
</ul>
{% endblock %}

{% block security %}
<p>
{% trans 'Accessing the listings is open.' %}
</p>
{% endblock %}
