1.0.5 • Published 3 months ago

burger-king-fr-api v1.0.5

Weekly downloads
-
License
MIT
Repository
github
Last release
3 months ago

Burger King French API wrapper

npm.io npm.io

A Node wrapper for the French Burger King API (webapi.burgerking.fr).

Why this project?

I don't even know myself. It's just funny to order Burger King with a node program 💀

Installation

npm install burger-king-fr-api
# or with yarn
yarn add burger-king-fr-api

Usage

Ok so first import the library and init the client:

const BKClient = require('burger-king-fr-api');

const client = new BKClient();

Then log into your account. You can either log in with an email and a password, or a bearer token (recommended).

await client.login('hello@world.fr', 'mySecureP@ssword123');
// or
await client.login('eyJhb.............. a bearer token');

License

This package is license under the MIT License. You can view it here.

1.0.5

3 months ago

1.0.4

5 months ago

1.0.3

5 months ago

1.0.2

5 months ago

1.0.1

5 months ago

1.0.0

5 months ago