Skip to content

rohitjethoe/nodejs-bol-webapi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Contributors Forks Stargazers Issues MIT License LinkedIn


Logo

nodejs-bol-wrapper

Bol.com API Node.js Wrapper
Explore the docs »

View Site · Report Bug · Request Feature

Table of Contents

About The Project

A Node.js wrapper for the Bol.com API. Bol.com explicitly asks to limit calls to retrieve your JWT token. However the token expires every 10 minutes. The express server in this project requests the JWT token and stores it by caching. Limiting calls for JWT token by using cache memory to retrieve the older (working) token.

Feel free fork and edit this project to your liking.

Built With

Features

v1.0.0

  • Retrieve and caching JWT Token
  • Validate JWT Token and if unvalid replacing the token.
  • Built-in books call for Bol.com products in category books.

Installation

  1. Clone the repo
git clone https://github.com/rohitjethoe/nodejs-bol-wrapper.git
  1. Install NPM packages
npm run build

or

yarn run build
  1. Run Express server for development
npm run serve

About

A Node.js Web API for the Bol.com API. Limiting calls for JWT token by using cache.

Resources

License

Stars

Watchers

Forks

Contributors