etherdelta / etherdelta.github.io

https://etherdelta.com
554 stars 689 forks source link

New Socket API is working or not #270

Open navabiradar opened 6 years ago

navabiradar commented 6 years ago

Hi,

Can i get the information that the new api is working. Because i tried the lot to get the results. Is there api which can resolve the PHP websocket . Can i get the PHP api functions or libraries for the etherdelta.

Thank you

zackcoburn commented 6 years ago

I can confirm that it is working, but I don't have a working PHP example. There is an Ether bounty to create a working example for C# and Python, and there are the working nodejs examples.

navabiradar commented 6 years ago

Thanks for your reply.

I have still one question. We have functions in php on web-socket. When hit the API it replying as 400 Bad Request cloudfare-nginx.

Please Can i get the correct form of URL.

zackcoburn commented 6 years ago

It's this one: https://github.com/etherdelta/etherdelta.github.io/blob/master/bots/maker.js#L16

navabiradar commented 6 years ago

Is that the URL is websocket API. And how can i get the results using curl operations in PHP.

Thank You