Author

Topic: [ANN] KRAKEN.COM - API Documentation Now Available (Read 1159 times)

legendary
Activity: 1820
Merit: 1000
Near the top of the doc it says, "Responses are JSON encoded in the form of:"

Must have missed that - but what caused me to be more confused was that the response data field names appear to have '-' symbols in them, making them unsuitable for json decoded to object format in most languages (since variables cannot have minus signs in the names); they will only ever be able to be decoded into associative array format. This made me think it was actually XML I was looking at.

Ah, yeah, that makes sense. The aimed-at format was for associative arrays. But it can be changed to work for languages that decode to variables instead.   
legendary
Activity: 1008
Merit: 1007
Near the top of the doc it says, "Responses are JSON encoded in the form of:"

Must have missed that - but what caused me to be more confused was that the response data field names appear to have '-' symbols in them, making them unsuitable for json decoded to object format in most languages (since variables cannot have minus signs in the names); they will only ever be able to be decoded into associative array format. This made me think it was actually XML I was looking at.
legendary
Activity: 1820
Merit: 1000
Hmmm, what format is the return data? XML? JSON? I have no idea from looking at your docs.

Near the top of the doc it says, "Responses are JSON encoded in the form of:"

Quote
Separate the description of what is returned from the actual data returned. Do this by including actual example data returned from the API.

Suggestion noted. For now, at least, you can try it out to see the response.

Quote
Do you have any reference implementations?

http://krakenapi.everdot.org/API/

There's a reference implementation there in python. But it's for an older doc that has changed. Still it might be helpful, and may get updated soon. 

-D
legendary
Activity: 1008
Merit: 1007
Hmmm, what format is the return data? XML? JSON? I have no idea from looking at your docs.

Separate the description of what is returned from the actual data returned. Do this by including actual example data returned from the API.

Do you have any reference implementations?

Cheers, Paul.
vip
Activity: 302
Merit: 253
https://beta.kraken.com/help/api

Input, bug reports greatly appreciated.
Jump to: