summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/getting-started.md4
-rw-r--r--docs/index.md4
2 files changed, 3 insertions, 5 deletions
diff --git a/docs/getting-started.md b/docs/getting-started.md
index 183c109..3cf4891 100644
--- a/docs/getting-started.md
+++ b/docs/getting-started.md
@@ -21,7 +21,7 @@ VYDEVICE_HOSTNAME=192.168.1.1
VYDEVICE_APIKEY=your-api-key-here
VYDEVICE_PORT=443
VYDEVICE_PROTOCOL=https
-VYDEVICE_VERIFY_SSL=False
+VYDEVICE_VERIFY_SSL=true
```
## Step 3: Create Your First Script
@@ -54,7 +54,7 @@ If using `verify=False`, disable urllib3 warnings:
```python
import urllib3
-urllib3.disable_warnings()
+urllib3.disable_warnings(urllib3.exceptions.InsecureRequestWarning)
```
## Understanding API Responses
diff --git a/docs/index.md b/docs/index.md
index 1bc9cb7..7576f20 100644
--- a/docs/index.md
+++ b/docs/index.md
@@ -37,7 +37,7 @@ device = VyDevice(
apikey="your-api-key",
port=443,
protocol="https",
- verify=False
+ verify=True
)
response = device.show(path=["system", "image"])
@@ -48,8 +48,6 @@ print(response.result)
- [GitHub Repository](https://github.com/vyos-contrib/pyvyos)
- [PyPI Package](https://pypi.org/project/pyvyos/)
-- [Read the Docs](https://pyvyos.readthedocs.io/)
-
## License
MIT License - See LICENSE file for details