Difference between revisions of "API"

From PirateCraft
Jump to navigation Jump to search
Line 4: Line 4:
  
  
<syntaxhighlight>
+
<syntaxhighlight lang="bash">
 
curl api.piratemc.com/players/<username>
 
curl api.piratemc.com/players/<username>
 
</syntaxhighlight>
 
</syntaxhighlight>

Revision as of 12:05, 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>