docs: update example domain to api.dvssvc.site (v3.0.1)

This commit is contained in:
dvs
2026-08-28 10:07:50 +08:00
parent 7d9e221993
commit 279a496f3e
+7 -7
View File
@@ -40,25 +40,25 @@ python API.py
```bash ```bash
# API directory / index # API directory / index
curl http://localhost:880/api/v3 curl http://api.dvssvc.site/api/v3
# Current time # Current time
curl http://localhost:880/api/v3/time curl http://api.dvssvc.site/api/v3/time
# Weather by city # Weather by city
curl "http://localhost:880/api/v3/weather?city=Beijing" curl "http://api.dvssvc.site/api/v3/weather?city=Beijing"
# Weather by adcode # Weather by adcode
curl "http://localhost:880/api/v3/weather?adcode=110000" curl "http://api.dvssvc.site/api/v3/weather?adcode=110000"
# Phone number lookup # Phone number lookup
curl "http://localhost:880/api/v3/phone?phone=13800138000" curl "http://api.dvssvc.site/api/v3/phone?phone=13800138000"
# Your public IP # Your public IP
curl "http://localhost:880/api/v3/ip/me" curl "http://api.dvssvc.site/api/v3/ip/me"
# IP geolocation # IP geolocation
curl "http://localhost:880/api/v3/ip?ip=8.8.8.8" curl "http://api.dvssvc.site/api/v3/ip?ip=8.8.8.8"
``` ```
--- ---