{% extends 'bootstrap/base.html' %} {% import 'bootstrap/fixes.html' as fixes %} {% block title %}libenable.so{% endblock %} {% block head %} {{super()}} {{fixes.ie8()}} {% endblock %} {% block content %}
$ curl http://{{ host }}:{{ port }}/api/statistics
import requests
requests.get('http://{{ host }}:{{ port }}/api/statistics').json()
The result of these examples is as follows:
Returns the version of the application
{{ version }}
http://{{ host }}:{{ port }}/api/version
Returns statistics about the application and the Python interpreter
{{ stats }}
http://{{ host }}:{{ port }}/api/statistics