This is a flask project hosted already for you, all you need is to just follow these steps to use the libgen_api without any charge or api_key
https://freebooks.helioho.st/api/search_book?title= {{put your book title here}}
#Be specific in what you are looking for because there a lot of books the code has to go through and it might take a long time for you to get the json response
If you are hosting by yourself then do this first
pip install -r requirements.txt
Factual0367 - libgen-api-enhanced creator