Tech
Low-Latency Chinese Airport METAR API: Python REST and WebSocket Push
Skyviewor provides low-latency METAR/SPECI access for 55 supported Chinese airports. Use REST to fetch the latest report on demand, or keep a WebSocket open to receive new reports by push as they arrive instead of polling. This Python example starts with REST; the WebSocket push guide covers the live stream.
Disclosure: I work on Skyviewor, the API used in this example.
Here is a minimal REST request for Beijing Capital and Shanghai Pudong. The API returns raw or parsed METAR/SPECI:
...
Read the full discussion on Dev.to
This article was aggregated from Dev.to. Click to join the conversation.
View on Dev.to