• v3.0.1 279a496f3e

    dvs released this 2026-08-28 02:08:10 +00:00 | 0 commits to main since this release

    🌐 Unified API Gateway v3.0.1

    A unified API gateway providing time, weather, phone number lookup, and IP geolocation services via a consistent /api/v3/ REST interface.

    What's New in v3.0.1

    • Updated example domain to api.dvssvc.site in documentation

    ✨ Features

    • 🕐 Time API (timestamp / datetime / CN & EN weekday)
    • 🌤️ Weather API (by city / adcode / auto-IP, sojson + uapis dual source)
    • 📱 Phone number lookup (Chinese mainland)
    • 🌍 IP geolocation (your IP / query IP / advanced commercial)
    • 🎯 Precise city name → adcode matching (adcode.txt)
    • ⚡ Graceful fallback when external APIs fail
    • 📦 Unified {code, message, data} response format

    🔌 Endpoints

    • GET /api/v3 — API directory
    • GET /api/v3/time
    • GET /api/v3/weather/sojson?city=City
    • GET /api/v3/weather?city=Beijing
    • GET /api/v3/phone?phone=13800138000
    • GET /api/v3/ip/me
    • GET /api/v3/ip?ip=8.8.8.8
    • GET /api/v3/ip/advanced?ip=8.8.8.8

    📦 Includes

    API.py / adcode.txt / README.md / LICENSE (MIT)

    🛠️ Requirements

    Python 3.8+ / flask / requests

    Downloads