diff --git a/README.md b/README.md index caaef9f..8c79e0b 100644 --- a/README.md +++ b/README.md @@ -19,8 +19,8 @@ Such client is disabled by default (`{ntp, false}`), and is not required to auth Accepts an integer that represents time in milliseconds, default value is `5_000`. Allows to tweak the timeout of each API request going through the websocket. -## Basic Low Level API Usage +## API Usage example - grisp_io_ws:connect(). + grisp_io_connection:connect(). true = grisp_io_ws:is_connected(). - {ok, <>} = grisp_io_ws:ping(). + {ok, <>} = grisp_io:ping().