Difference between revisions of "API"

From PirateCraft
Jump to navigation Jump to search
(Created page with "PirateCraft application programming interface allowing access to data of the PirateCraft ecosystem. == Players API == You can query players data by username or UUID using: su...")
 
Line 1: Line 1:
PirateCraft application programming interface allowing access to data of the PirateCraft ecosystem.
+
<code>__TOC__</code><code></code>PirateCraft application programming interface allowing access to data of the PirateCraft ecosystem.
 +
==Players API==
 +
<p class="mw_paragraph">You can query players data by username or UUID using:
  
== Players API ==
+
 
You can query players data by username or UUID using:
+
<syntaxhighlight line="line" lang="Python">
sub.domain.com/player/Username
+
curl api.piratemc.com/players/<username>
 +
</username></syntaxhighlight>

Revision as of 11:59, 14 November 2019

Contents

PirateCraft application programming interface allowing access to data of the PirateCraft ecosystem.

Players API

You can query players data by username or UUID using:

curl api.piratemc.com/players/<username>
</username>