Skip to content

Commit 74170d3

Browse files
committed
updated README with new data
1 parent 3974864 commit 74170d3

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,13 +60,15 @@ The general convention used in all functions (both REST and websockets), is that
6060

6161
### Getting started
6262

63-
The API key and secret are required for private calls and optional for public calls. The access window and debugging parameter are optional for all calls. The access window is used to determine whether the request arrived within time, the value is specified in milliseconds. You can use the [time](https://github.com/bitvavo/php-bitvavo-api#get-time) function to synchronize your time to our server time if errors arise. Debugging should be set to true when you want to log additional information and full responses. Any parameter can be omitted, private functions will return an error when the api key and secret have not been set.
63+
The API key and secret are required for private calls and optional for public calls. The access window and debugging parameter are optional for all calls. The access window is used to determine whether the request arrived within time, the value is specified in milliseconds. You can use the [time](https://github.com/bitvavo/php-bitvavo-api#get-time) function to synchronize your time to our server time if errors arise. REST url and WS url can be used to set a different endpoint (for testing purposes). Debugging should be set to true when you want to log additional information and full responses. Any parameter can be omitted, private functions will return an error when the api key and secret have not been set.
6464
```PHP
6565
require_once('bitvavo.php');
6666

6767
$bitvavo = new Bitvavo([
6868
"APIKEY" => "<APIKEY>",
6969
"APISECRET" => "<APISECRET>",
70+
"RESTURL" => "https://api.bitvavo.com/v2",
71+
"WSURL" => "wss://ws.bitvavo.com/v2/",
7072
"ACCESSWINDOW" => 10000,
7173
"DEBUGGING" => false
7274
]);

0 commit comments

Comments
 (0)