{% extends "base_site.html" %} {% block title %} OQMD {% endblock %} {% block extrahead %} {% endblock %} {% block content %}

API dashboard

{% csrf_token %} {{ form.non_field_errors }} {% for hidden_field in form.hidden_fields %} {{ hidden_field.errors }} {{ hidden_field }} {% endfor %} {% for field in form.visible_fields %} {% endfor %}
{{ field.label_tag }} {{ field.errors }} {{ field }} {{ field.help_text }}
{% if key %} Your API key is: {% endif %}

URL requesting example

The following is an example of a full url requesting for information of materials entries with the API key supplied as a GET variable:
oqmd.org:/serializer/entry?apikey=YOUR_API_KEY
{% endblock %}