A year ago or so, I posted a solution to access nepse API on this sub Reddit. It seems that nepse has pushed some breaking changes in its client side token modifier code making the previous solution not working.
I think some people out here were using it to access the API. I am posting it here so that they can continue doing what they were doing.
This time I used a WASM parser “pywasm” to parse css.wasm file (check nepse website, if you don’t know where this file is) so the solution won’t appear too cryptic.
https://www.github.com/basic-bgnr/NepseUnofficialAPI
(Checkout branch 15_feb_2023)
View on r/NepalStock by basic_bgnr