probe-gate
Demonstrates fetching a coverage map tile using XYZ coordinates for central Europe to show international radar coverage.
curl 'https://tilecache.rainviewer.com/v2/coverage/0/256/4/8/5/0/0_0.png'
import requests
resp = requests.get("https://tilecache.rainviewer.com/v2/coverage/0/256/4/8/5/0/0_0.png")
data = resp.json()
import zingu_apis
api = zingu_apis.api("rainviewer")
result = api.fetch("v2/coverage/0/{size}/{z}/{x}/{y}/0/0_0.png")
for item in result:
print(item)
const resp = await fetch("https://tilecache.rainviewer.com/v2/coverage/0/256/4/8/5/0/0_0.png");
const data = await resp.json();