{% extends "dashboard/service_base.html" %} {% load i18n a17t_tags %} {% block head_title %}{{object.name}} {% trans 'Management' %}{% endblock %} {% block service_actions %} {% trans 'View' %} → {% endblock %} {% block service_content %}
{% trans 'Installation' %}

{% blocktrans trimmed %} Place the following snippet at the end of the <body> tag on any page you'd like to track. {% endblocktrans %}

{% include 'dashboard/includes/service_snippet.html' %}
{% trans 'Settings' %}
{% csrf_token %}
{% include 'dashboard/includes/service_form.html' %}

API

Shynet provides a simple API that you can use to pull data programmatically. You can access this data via this URL:

{{script_protocol}}{{request.get_host}}{% url 'api:services' %}?uuid={{object.uuid}}

There are 2 optional query parameters:

Example using cURL:

curl -H 'Authorization: Token (your API token, available on security page)' '{{script_protocol}}{{request.get_host}}{% url 'api:services' %}?uuid={{object.uuid}}&startDate=2021-01-01&endDate=2050-01-01'
{% endblock %}