mirror of
https://github.com/BigBodyCobain/Shadowbroker.git
synced 2026-04-25 12:06:08 +02:00
11 lines
539 B
Python
11 lines
539 B
Python
import json, urllib.request
|
|
|
|
data = json.loads(urllib.request.urlopen('http://localhost:8000/api/live-data').read())
|
|
print(f"Commercial flights: {len(data.get('commercial_flights', []))}")
|
|
print(f"Private flights: {len(data.get('private_flights', []))}")
|
|
print(f"Private jets: {len(data.get('private_jets', []))}")
|
|
print(f"Military flights: {len(data.get('military_flights', []))}")
|
|
print(f"Tracked flights: {len(data.get('tracked_flights', []))}")
|
|
print(f"Ships: {len(data.get('ships', []))}")
|
|
print(f"CCTV: {len(data.get('cctv', []))}")
|