app_id

I'm trying to get Russian language, but I can’t. Why "&l=RU" this is not working?

Tagged:

Comments

  • That seems to be working,
    However only things like error messages get translated. The attribute names etc will always remain in English.
    so here you can see what happens when an error occurs.

    Data: {"echo_req":{"authorize":"<not shown>"},"error":{"code":"InvalidToken","message":"Код подтверждения недействителен."},"msg_type":"authorize"}
    Error Happened: {"echo_req":{"authorize":"<not shown>"},"error":{"code":"InvalidToken","message":"Код подтверждения недействителен."},"msg_type":"authorize"}
    

    but a normal response remains in English. Any translation of results would need to be handled client side.

    {"balance":{"balance":9971.63,"currency":"USD","id":"7a3f7af7-d535-67dc-b7b6-26ce10520fb9","loginid":"VRTC1859315"},"echo_req":{"balance":1,"subscribe":1},"msg_type":"balance","passthrough":null,"subscription":{"id":"7a3f7af7-d535-67dc-b7b6-26ce10520fb9"}}
    
  • I understood you. Thanks you :)))))

  • Persi, you can share the code of how you can implement a connection with binary.com? I'm trying everything here but only receive this at bellow. Is ruby too?

    @ws = WebSocket::Handshake::Client.new(url: 'wss://ws.binaryws.com/websockets/v3?app_id=xxxx')
    @ws << ({authorize:'xxx'}.to_json)
    @ws.finished?
    @ws.valid?
    [:close, 1002, "Error during WebSocket handshake: Unexpected response code: 401"]
    
  • I found my error. I was thinking that app_id equal to token_id. Sorry, I did not pay attention to the description to generate app_id.

    But I have a question. My project is under development and is not deployed. But I need access to the API to get deploy beta. How proceed to APP registration?

  • You can register your app at any time. If it is beta then best to stick to trading with virtual accounts.

Sign In or Register to comment.