The website sailresults.net supports a public REST API. It also has JavaScript (will be soon) for embedding on other sites and for use there.
GET
/api/competition/{id:int}
Gets competition with files data by id.
ResponsesYou can also use shorter notation: /api/c/{id:int}
GET
/api/file/{id:int}
Gets file data by id.
ResponsesYou can also use shorter notation: /api/f/{id:int}
To download file use link: /f/{id:int}
POST
/api/search
Gets files ordered by date and name if dates are equal using website filter. Request must be json with query { "query": "test" }
.
To use sailresults API via embeded JavaScript:
<script src="https://sailresults.net/api.js"></script>
sailresults
object.