Soccerama new Sportmonks
Sportmonks API for v1.1, v1.2 and v2.0
installation
npm install soccerama
import
ES6
;const soccerama = __YOUR_API_TOKEN__ 'v2.0';
CommonJS
var Soccerama = Soccerama;var soccerama = __YOUR_API_TOKEN__ 'v2.0';
usage
var soccerama = __YOUR_API_TOKEN__ 'v2.0'; // if second param is omitted api v1.2 will be used soccerama;
endpoint
you can get the endpoint from the official soccerama documentation omitting the base url and the parameters (that are set with the params field)
soccerama;
params
if you need to specify parameters you can set the params field as follow
soccerama;