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>
Please refer to:
- the LatinChain API documentation to learn how to interact as developer with the platform.