1.2.2 • Published 2 years ago

ffe-api v1.2.2

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

ffe-api

npm npm

This api is made to interact with the FFE (Fédération Française des échecs) website.

It is written in typescript and each method is typed.

installation

With npm

npm install ffe-api

With yarn

yarn add ffe-api

Usage

Methods

  • fetchDayEvents
  • fetchMonthEvents
  • fetchEventDetails
  • fetchPlayer

Example

import api from 'ffe-api'

const main = async () => {
    const events = await api.fetchDayEvents(3, 10, 2020);
    console.log(events);

    const eventDetails = await api.fetchEventDetails(events[0]);
    console.log(eventDetails);

    const player = await api.fetchPlayer("Fabrice", "Moracchini");
    console.log(player);
}

Contribute

If you have any issues or want new feature feel free to create an issue.

1.2.2

2 years ago

1.2.1

2 years ago

1.2.0

3 years ago

1.1.1

3 years ago

1.1.0

3 years ago

1.1.4

3 years ago

1.1.3

3 years ago

1.1.2

3 years ago

1.0.10

3 years ago

1.0.8

3 years ago

1.0.7

3 years ago

1.0.6

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago