description: list all the websites associated with your account.
Parameter | Type | Description | Required |
---|---|---|---|
api_token | string | API Token | Yes |
1 2 3 4 |
require "codeBookie.php"; $codeBookie = new CodeBookie(); $result = $codeBookie->listSites(); |
Output:
Variable | Type | Description |
---|---|---|
status | string | OK or ERROR |
website_count | integer | number of websites associated with your account |
sites | array | returns an array of websites with the following keys: -id -website_description -url |