Brainly Cache condition, you can disable/enable it.
Brainly cache manager instance.
The caches saved on /tmp folder. Don't worry, the caches will removed every machine reboot.
Brainly worker pool (using npmjs.com/piscina)
Use this function if you want search question, it will returns question detail, question author, answer detail, attachments (if question or answer attachments is any), rating question and answer.
A question you want to search. Example: Pythagoras theory
What language want to search?
Length array from question list
Custom Axios request options
Example:
brain.search('Pythagoras', 'id', 10).then(console.log);
[]>}
Use this function if you want search question, it will returns question detail, question author, answer detail, attachments (if question or answer attachments is any), rating question and answer.
A question you want to search. Example: Pythagoras theory
What language want to search?
Length array from question list
Custom Axios request options
Example:
brain.searchWithMT('Pythagoras', 'id', 10).then(console.log);
[]>}
Create axios instance.
Country code.
This function will return brainly site url from your country selection in the constructor
A base url of your country selection
Get body request to sent.
A question
How much items you want to receive.
[]}
Validate language code based available languages.
A Language want to validate.
Generated using TypeDoc version 0.22.15, the 5/5/2022 at 7:24:56 PM
Here, please put your application server country code. if you do not enter valid region/country code. It will trigger an Error Exception.