code easy way to get book id
jyooru opened this issue · 2 comments
jyooru commented
getting the book id requires users to open up their browser devtools. not all users will know how to use devtools, so there needs to be an easier way to get the book id.
jyooru commented
using the api to get the book id will not work as it requires authentication
https://api-sin-prod.gls.pearson-intl.com/user/{id}/product
{"statusCode":401,"error":"Unauthorized","message":"Missing authentication"}
jyooru commented
window.foxitAssetURL
returns the book url, just like pearson_pdf.book_url but without /pages/page