{% extends 'bootstrap/base.html' %} {% import 'bootstrap/fixes.html' as fixes %} {% block title %}libenable.so{% endblock %} {% block head %} {{super()}} {{fixes.ie8()}} {% endblock %} {% block content %}

Documentation

Home

Examples

Curl

$ curl http://{{ host }}:{{ port }}/api/statistics

Python Requests

import requests

requests.get('http://{{ host }}:{{ port }}/api/statistics').json()

The result of these examples is as follows:


Version

GET

Returns the version of the application

{{ version }}
http://{{ host }}:{{ port }}/api/version

Statistics

GET

Returns statistics about the application and the Python interpreter

{{ stats }}
http://{{ host }}:{{ port }}/api/statistics
{% endblock %}