SDKs manuais
Guias
Exemplos copy-paste para listar unidades, emitir senha e conectar no WebSocket. Troque a linguagem sem recarregar a página.
PHP
cURL e Elephant.io / Ratchet client
Listar unidades
cURL GET com header X-Api-Key.
php
Carregando…
Emitir senha
cURL POST JSON.
php
Carregando…
Conectar WebSocket
Exemplo com socket.io-client PHP (ElephantIO).
php
Carregando…