i am trying to make a script that fetch data from nepse tms api using python.

almost done but the only problem that i am stuck is generating **Host-Session-Id** headers

base64 decoding gives **MTI=-8adedd0d-a2ef-4f9e-b68b-80d3851adc34**

now all i have to do is get this value which i don’t know how



More at: r/NepalStock by Remarkable_League_25

  1. You will need to convert the `suid` from local storage to Base64-encoded ASCII string to get the value for `Host-Session-Id`.

    In JavaScript, you can do that with a single line of code.


Leave a Reply

Your email address will not be published.

You May Also Like

Nepal Vs India on Stock Exchange. Memetainment.

Nepal Vs India on Stock Exchange. Memetainment. More at: r/NepalStock by duck_student

Need of another Stock Exchange in Nepal and its relevance?

SEBON made it public that it was speeding up the process of…

Buy NEPSE Domain. nepalstock.com expired ?

Buy NEPSE Domain. nepalstock.com expired ? More at: r/NepalStock by Yikings-654points

Nepse Share Calculator Nepal – Buy, Sell, Average Price Calculator in Nepal

Created Simple web-based Nepse Share Calculator, where you can calculate Buy/SELL Amount.…

Any good facebook page that regularly posts news/articles about stock trading/investing/world markets?

. More at: r/NepalStock by [deleted]