Heart Dareboost
Heart Dareboost is an analysis module of Heart, which analyses URLs with Dareboost.
Read more about the purpose, design and general installation of Heart.
Package manager
In the following sections, every examples are using NPM as package manager, but you can use any other you prefer: Yarn, pnpm...
Installation
-
Add the package to your project:
npm install @fabernovel/heart-dareboost -
Add Heart CLI if you have not already installed it
npm install @fabernovel/heart-cli -
In the project root folder, create a
.env
file with the Dareboost API token:DAREBOOST_API_TOKEN=My_Dareboost_Api_Token
Usage
Analysis setup
The analysis setup must use the JSON format, and follow the request format API documentation, except the token
property, that you set up during the installation.
Example
Using Heart CLI, starting a Dareboost analysis of https://heart.fabernovel.com could look like that:
npx heart dareboost --inline '{"url":"https://heart.fabernovel.com","location":"Paris"}'