{% extends 'apidocs/base.html.twig' %}

{% block title %}Introduction{% endblock %}

{% block content %}
    <div class="row justify-content-center">
        <div class="col-lg-7">
            <div class="content">
                <h1 class="content-title">
                    Introduction
                </h1>

                <p>Welcome to the SpinShare API Documentation! These pages focus on all the data you can access from SpinSha.re to make cool stuff. Whether you're working on a Twitch bot, a mod for the game or anything else helping, we want you to be able to use our platform to make your projects even better!<br /><br />So what are we waiting for? Let's create something awesome together!</p>
            </div>
            <div class="content">
                <h1 class="content-title">
                    Support
                </h1>

                <p>If you need any help implementing the SpinShare API, feel free to ask us anything in the <code class="code">#development</code> channel on our <a href="https://spinsha.re/discord" target="_blank">Discord Server</a>.</p>
            </div>
            <div class="content">
                <h1 class="content-title">
                    Changelog
                </h1>

                <div class="alert alert-primary" role="alert">
                    <h4 class="alert-heading">Last Update</h4>
                    This documentation was last updated on 01/22/2021 at 14:58 CEST
                </div>

                <div class="card">
                    <h2 class="card-title">01/22/2021</h2>
                    <ul>
                        <li>Removed the Open Discovery->Popular endpoint</li>
                        <li>Added difficulty ratings to songs</li>
                        <li>Added an update hash and update time to songs</li>
                        <li>Renamed Discovery->Hot endpoint to Discovery->HotThisWeek</li>
                        <li>Added Discovery->HotThisMonth endpoint</li>
                        <li>Added Discovery->Updated endpoint</li>
                        <li>Limited the Discovery endpoint outputs to 10 per page (was 12 before)</li>
                    </ul>
                </div>

                <div class="card">
                    <h2 class="card-title">11/28/2020</h2>
                    <ul>
                        <li>Deprecated the Open Discovery->Popular endpoint</li>
                        <li>Added a link to the main website</li>
                    </ul>
                </div>

                <div class="card">
                    <h2 class="card-title">11/02/2020</h2>
                    <ul>
                        <li>Added preferred pronouns for user profiles</li>
                    </ul>
                </div>
            </div>
        </div>
    </div>
{% endblock %}