Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions docs/auth-quota-and-health.html
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,7 @@ <h4>Example</h4><pre><code>curl https://api.livetennisapi.com/api/public/v1/usag
<p class="meta">Generated from <a href="./openapi.yaml">openapi.yaml</a> by
<a href="https://github.com/livetennisapi/openapi">livetennisapi/openapi</a>. Every endpoint on
this page is also in <a href="./reference.html">the full reference</a>.</p>
<p class="meta">Built by <a href="https://synapsereality.io/work/live-tennis-api/">Synapse Research Ltd</a>.</p>
</footer>
</div>
<script>
Expand Down
1 change: 1 addition & 0 deletions docs/broadcast-graphics.html
Original file line number Diff line number Diff line change
Expand Up @@ -227,6 +227,7 @@ <h4>Example</h4><pre><code>curl https://api.livetennisapi.com/api/public/v1/broa
<p class="meta">Generated from <a href="./openapi.yaml">openapi.yaml</a> by
<a href="https://github.com/livetennisapi/openapi">livetennisapi/openapi</a>. Every endpoint on
this page is also in <a href="./reference.html">the full reference</a>.</p>
<p class="meta">Built by <a href="https://synapsereality.io/work/live-tennis-api/">Synapse Research Ltd</a>.</p>
</footer>
</div>
<script>
Expand Down
1 change: 1 addition & 0 deletions docs/historical-results-archive.html
Original file line number Diff line number Diff line change
Expand Up @@ -267,6 +267,7 @@ <h4>Example</h4><pre><code>curl https://api.livetennisapi.com/api/public/v1/h2h
<p class="meta">Generated from <a href="./openapi.yaml">openapi.yaml</a> by
<a href="https://github.com/livetennisapi/openapi">livetennisapi/openapi</a>. Every endpoint on
this page is also in <a href="./reference.html">the full reference</a>.</p>
<p class="meta">Built by <a href="https://synapsereality.io/work/live-tennis-api/">Synapse Research Ltd</a>.</p>
</footer>
</div>
<script>
Expand Down
1 change: 1 addition & 0 deletions docs/live-scores.html
Original file line number Diff line number Diff line change
Expand Up @@ -385,6 +385,7 @@ <h4>Example</h4><pre><code>curl https://api.livetennisapi.com/api/public/v1/fixt
<p class="meta">Generated from <a href="./openapi.yaml">openapi.yaml</a> by
<a href="https://github.com/livetennisapi/openapi">livetennisapi/openapi</a>. Every endpoint on
this page is also in <a href="./reference.html">the full reference</a>.</p>
<p class="meta">Built by <a href="https://synapsereality.io/work/live-tennis-api/">Synapse Research Ltd</a>.</p>
</footer>
</div>
<script>
Expand Down
1 change: 1 addition & 0 deletions docs/players-and-tournaments.html
Original file line number Diff line number Diff line change
Expand Up @@ -266,6 +266,7 @@ <h4>Example</h4><pre><code>curl https://api.livetennisapi.com/api/public/v1/rank
<p class="meta">Generated from <a href="./openapi.yaml">openapi.yaml</a> by
<a href="https://github.com/livetennisapi/openapi">livetennisapi/openapi</a>. Every endpoint on
this page is also in <a href="./reference.html">the full reference</a>.</p>
<p class="meta">Built by <a href="https://synapsereality.io/work/live-tennis-api/">Synapse Research Ltd</a>.</p>
</footer>
</div>
<script>
Expand Down
1 change: 1 addition & 0 deletions docs/point-by-point-history.html
Original file line number Diff line number Diff line change
Expand Up @@ -285,6 +285,7 @@ <h4>Example</h4><pre><code>curl https://api.livetennisapi.com/api/public/v1/hist
<p class="meta">Generated from <a href="./openapi.yaml">openapi.yaml</a> by
<a href="https://github.com/livetennisapi/openapi">livetennisapi/openapi</a>. Every endpoint on
this page is also in <a href="./reference.html">the full reference</a>.</p>
<p class="meta">Built by <a href="https://synapsereality.io/work/live-tennis-api/">Synapse Research Ltd</a>.</p>
</footer>
</div>
<script>
Expand Down
1 change: 1 addition & 0 deletions docs/push-feed-and-webhooks.html
Original file line number Diff line number Diff line change
Expand Up @@ -245,6 +245,7 @@ <h4>Example</h4><pre><code>curl https://api.livetennisapi.com/api/public/v1/ws-t
<p class="meta">Generated from <a href="./openapi.yaml">openapi.yaml</a> by
<a href="https://github.com/livetennisapi/openapi">livetennisapi/openapi</a>. Every endpoint on
this page is also in <a href="./reference.html">the full reference</a>.</p>
<p class="meta">Built by <a href="https://synapsereality.io/work/live-tennis-api/">Synapse Research Ltd</a>.</p>
</footer>
</div>
<script>
Expand Down
1 change: 1 addition & 0 deletions docs/reference.html
Original file line number Diff line number Diff line change
Expand Up @@ -2281,6 +2281,7 @@ <h3>RallyShot</h3>
<p class="meta">Writing about tennis, or building a tool on this API? The affiliate
programme pays 51% recurring for the lifetime of every subscription referred,
10% off for them, free to join.</p>
<p class="meta">Built by <a href="https://synapsereality.io/work/live-tennis-api/">Synapse Research Ltd</a>.</p>
</footer>

</div>
Expand Down
1 change: 1 addition & 0 deletions docs/shot-level-rally-data.html
Original file line number Diff line number Diff line change
Expand Up @@ -249,6 +249,7 @@ <h4>Example</h4><pre><code>curl https://api.livetennisapi.com/api/public/v1/char
<p class="meta">Generated from <a href="./openapi.yaml">openapi.yaml</a> by
<a href="https://github.com/livetennisapi/openapi">livetennisapi/openapi</a>. Every endpoint on
this page is also in <a href="./reference.html">the full reference</a>.</p>
<p class="meta">Built by <a href="https://synapsereality.io/work/live-tennis-api/">Synapse Research Ltd</a>.</p>
</footer>
</div>
<script>
Expand Down
1 change: 1 addition & 0 deletions docs/tennis-odds.html
Original file line number Diff line number Diff line change
Expand Up @@ -241,6 +241,7 @@ <h4>Example</h4><pre><code>curl https://api.livetennisapi.com/api/public/v1/matc
<p class="meta">Generated from <a href="./openapi.yaml">openapi.yaml</a> by
<a href="https://github.com/livetennisapi/openapi">livetennisapi/openapi</a>. Every endpoint on
this page is also in <a href="./reference.html">the full reference</a>.</p>
<p class="meta">Built by <a href="https://synapsereality.io/work/live-tennis-api/">Synapse Research Ltd</a>.</p>
</footer>
</div>
<script>
Expand Down
5 changes: 5 additions & 0 deletions scripts/build_reference.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,9 @@
DOCS = ROOT / "docs"
SITE = "https://livetennisapi.com"
DOCS_URL = "https://docs.livetennisapi.com"
# Footer credit on every generated page. Synapse Research Ltd builds and runs the API.
CREDIT = ('<p class="meta">Built by <a href="https://synapsereality.io/work/live-tennis-api/">'
'Synapse Research Ltd</a>.</p>')


def site_navigation(active: str) -> str:
Expand Down Expand Up @@ -938,6 +941,7 @@ def build_html(spec: dict[str, Any]) -> str:
<p class="meta">Writing about tennis, or building a tool on this API? The affiliate
programme pays 51% recurring for the lifetime of every subscription referred,
10% off for them, free to join.</p>
{CREDIT}
</footer>

</div>
Expand Down Expand Up @@ -1529,6 +1533,7 @@ def build_topic_pages(spec: dict[str, Any], reference_html: str) -> dict[str, st
<p class="meta">Generated from <a href="./openapi.yaml">openapi.yaml</a> by
<a href="https://github.com/livetennisapi/openapi">livetennisapi/openapi</a>. Every endpoint on
this page is also in <a href="./reference.html">the full reference</a>.</p>
{CREDIT}
</footer>
</div>
{BEACON}{CLARITY}</body>
Expand Down
Loading