alice-lg / birdwatcher

A JSON API for BIRD
BSD 3-Clause "New" or "Revised" License
68 stars 41 forks source link

parsing bird version fails with bird2 #38

Closed annikahannig closed 2 years ago

annikahannig commented 3 years ago

Apparently this happens - need to check.

goochjj commented 3 years ago

Works here: { "api": { "Version": "2.0.0", "result_from_cache": true, "cache_status": { "cached_at": { "date": "2021-05-08T14:33:17.072557129Z", "timezone_type": "UTC", "timezone": "UTC" } } }, "cached_at": "2021-05-08T14:33:17.072557129Z", "status": { "current_server": "2021-05-08 14:33:17", "last_reboot": "2021-05-01 19:50:00", "last_reconfig": "2021-05-08 14:20:02", "message": "Daemon is up and running", "router_id": "", "version": "2.0.8" }, "ttl": "2021-05-08T14:38:17.072557129Z" }