Showing Posts For Maximilian.1926:

Guide to the Black Lion Trading Co API

in API Development

Posted by: Maximilian.1926

Maximilian.1926

ya that was my assumption,
I don’t know why im not able to decode the listing.json… I do get a response in my python program but then it fails at decoding it, while it works fine for me.json, (I have matched the hosts and header info for both requests according to what I get in fiddler from an in client action)

NVM
figured it out, I set accept-encoding to “gzip,q=0”, and now it seems to read it fine… although im now getting “gzip,deflate” from fideller…

(edited by Maximilian.1926)

Guide to the Black Lion Trading Co API

in API Development

Posted by: Maximilian.1926

Maximilian.1926

ok, I know about me.json needing the session key from the client, and I have that working, but I was tiring to use the same key with listings.json, could that be my problem?
I need to get both keys separately? I would think the client session key one should cover it as I can view that data in the client

(edited by Maximilian.1926)

Guide to the Black Lion Trading Co API

in API Development

Posted by: Maximilian.1926

Maximilian.1926

anyone know the difference between
https://tradingpost-live.ncplatform.net/ws/listings.json?id=##### and https://tradingpost-live.ncplatform.net/ws/me.json, encoding wise?
Im using python (urllisb2 and json) and I can read the me.json but I keep getting errors on the listings

Guide to the Black Lion Trading Co API

in API Development

Posted by: Maximilian.1926

Maximilian.1926

regarding SessionID, how long is it active for after log-out from the game client? and is there a way to “refresh” it to keep it alive? or would something like that be a violation of the rules?