https://github.com/cutetenshii/burger-king-fr-api
Un wrapper Node.js pour l'API interne de Burger King (site français)
https://github.com/cutetenshii/burger-king-fr-api
api api-wrapper burger-king
Last synced: 12 months ago
JSON representation
Un wrapper Node.js pour l'API interne de Burger King (site français)
- Host: GitHub
- URL: https://github.com/cutetenshii/burger-king-fr-api
- Owner: CuteTenshii
- License: mit
- Created: 2023-11-24T19:24:51.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2024-02-15T10:21:35.000Z (over 2 years ago)
- Last Synced: 2025-07-18T17:53:47.685Z (12 months ago)
- Topics: api, api-wrapper, burger-king
- Language: JavaScript
- Homepage: https://www.npmjs.com/package/burger-king-fr-api
- Size: 80.1 KB
- Stars: 11
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# Burger King French API wrapper
[](https://www.npmjs.com/package/burger-king-fr-api)
[](LICENSE.txt)
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
```bash
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:
```js
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).
```js
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](LICENSE.txt).