Skip to content

JustYuuto/burger-king-fr-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Burger King French API wrapper

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('[email protected]', 'mySecureP@ssword123');
// or
await client.login('eyJhb.............. a bearer token');

License

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

About

Un wrapper Node.js pour l'API interne de Burger King (site français)

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published