Skip to content

Latest commit

 

History

History

docs

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

Interaction with LatinChain Platform (LatinChain API docs)

Watch these docs also at: https://latin-chain.com/api-docs/

You can play games at https://latin-chain.com, but you can also browse data as developer, as easy as send a request to:

https://latin-chain.com/api/get-external-user

Sending by POST {pi_user_code}, example:

<head>
  <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.7.1/jquery.min.js"></script>
</head>
<script>
  $.post("https://latin-chain.com/api/get-external-user", data={'pi_user_code': 'rockcesar'}, function(data, status){
    alert("Result: " + data.result + "\nStatus: " + status + "\nData: " + JSON.stringify(data));
  });
</script>

Or you can browse at the following, to get the winners:

https://latin-chain.com/api/get-external-winners

<head>
  <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.7.1/jquery.min.js"></script>
</head>
<script>
  $.post("https://latin-chain.com/api/get-external-winners", function(data, status){
    alert("Result: " + data.result + "\nStatus: " + status + "\nData: " + JSON.stringify(data));
  });
</script>

Usage

Find an user

Please refer to: