api-integration-examples icon indicating copy to clipboard operation
api-integration-examples copied to clipboard

Websocket API V2

Open tomeroto opened this issue 7 years ago • 6 comments

Hi all,

I try to use bitcoinaverage from NPM to using V2 method. When I call API for get ticket by this URL: https://apiv2.bitcoinaverage.com/websocket/v2/get_ticket

and set header according to this docs https://apiv2.bitcoinaverage.com/?shell#requests

but it just take response to long and get bad gateway.

I read some notes from the docs for V2, it says:

This is an integer value representing the unix epoch. This needs to be no more than 15 seconds different than our server time for the request to pass. This prevents replay attacks. If you wish to check our server time please use the "/constants/time" endpoint.

After I follow the instruction, and test run, it just get same response (BAD GATEWAY).

Please help.

tomeroto avatar Aug 22 '18 14:08 tomeroto

Merged, thank you!

fichtner avatar Mar 31 '18 07:03 fichtner

You're welcome :)

tpltnt avatar Mar 31 '18 08:03 tpltnt