How to integrate binary API into PHP
I want to integrate the binary API in PHP language. Is any SDK available for that or any other way to do in PHP
I want to integrate the binary API in PHP language. Is any SDK available for that or any other way to do in PHP
Comments
Hello. Look for some PHP websocket client Implementation/library.
Regards
Thanks for response tarja. Please suggest the PHP websocket client library or some example.
Here you have some resources.
http://stackoverflow.com/questions/7160899/websocket-client-in-php
http://stackoverflow.com/questions/22370966/connecting-to-websocket-with-php-client
http://stackoverflow.com/questions/35136906/websocket-client-in-core-php
Regards
Thanks tarja, Can i use PHP CURL to access the binary API?
Hello. You can not use Binary websocket API through PHP CURL.
Regards
I have analyzed the above urls to integrate in php. But, unfortunately i can't able to do it. Can u please send some basic example to access binary API using PHP. Thanks in advance
@trade4mebinarydemo we have added one demo in php at https://developers.binary.com/demos/ Please check
@trade4mebinarydemo install https://github.com/Devristo/phpws
Thank you Raunak and sb1
@trade4mebinarydemo Solution for me: https://github.com/ratchetphp/Pawl and PHP version 7.
I have a problem with BUY API . I want to use "buy" API call, It needs the authentication first right. So, first i have send the "authentication" call and then call the "buy" call. But the error message shows "AuthorizationRequired". Can u please tell me what can i do for that.
I got it!