node 14+
npm 6+
npm install
| name | default | type | required | description |
| :------------: | :-----: | :----: | :------: | :---------------------------------------------------------------: |
| PORT | 3300 | number | yes | the port of endpoint API |
| SEQUENCE_DEBUG | | number | no | activated mode debug how save in .sequence te intermediate params |
| SEQUENCE_DIR | | text | no | the directore to salve te intermediate params |
npm run app
or
npm run start in dev
define SEQUENCE_DEBUG to true in .env
Url : localhost:[PORT]/api/scraper
Method: post
| Parametro | required | options |
|---|---|---|
| model | yes | Lenovo |
{
"model": "Lenovo"
}{
"RESULT": "success",
"DATA": {
...
},
"ERRORS": []
}