{% 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
curl http://{{ host }}:{{ port }}/api/reCAPTCHA -F "site_key=<site key>" -X POST

Python Requests

import requests

requests.get('http://{{ host }}:{{ port }}/api/statistics').json()
requests.post('http://{{ host }}:{{ port }}/api/reCAPTCHA', data = {'site_key': '<site key>'}).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

reCAPTCHA

POST

Enables access to reCAPTCHA protected domains

Arguments

Name Description
site_key The site key of the domain
{{ reCAPTCHA }}
http://{{ host }}:{{ port }}/api/reCAPTCHA

Solve Media

POST

Enables access to Solve Media protected domains

Arguments

Name Description
site_key The site key of the domain
{{ solve_media }}
http://{{ host }}:{{ port }}/api/solvemedia
{% endblock %}