promiedos-api
v1.0.1
Published
<div align="center"> <h1>promiedos-api</h1> <a href="https://www.codefactor.io/repository/github/ifraan/promiedos-api"><img src="https://www.codefactor.io/repository/github/ifraan/promiedos-api/badge" alt="CodeFactor" /></a> <a href="https://www.npm
Downloads
127
Maintainers
Readme
Installation
To install use:
npm i promiedos-api
Usage
const matches = await fetchPromiedos({ mode?: "yesterday" | "live" }); // live is the default
console.log(matches);
/*
type Match = {
league: string;
time: string;
team1: {
name: string;
score: string;
logo?: string;
};
team2: {
name: string;
score: string;
logo?: string;
};
}[]
*/
Disclaimer
This project is fully made for educational purposes