bored-package
v1.1.0
Published
Package that fetches data from bored API
Downloads
14
Maintainers
Readme
bored-package
Introduction
Welcome to my first ever npm package. With this package you can fetch data from bored Api. Learn more about the api documentation here https://www.boredapi.com/documentation.
This package fetches a random activity, activity by type (Types: education, recreational, social, diy, charity, cooking, relaxation, music, busywork), activity by participants (from 1-5 participants) and activity by price (0.0 which means free, all the way to 0.6)
Ruichao Guan
Usage
Install the package with the command
npm i bored-package
Import the package in your project as following
'import BoredAPI from 'bored-package'