Comments (7)
This happens when there are no planes in the area.
from flightradar24-client.
Can you post your example code?
from flightradar24-client.
its the same as yours, just put a bounding box where there are no planes.
from flightradar24-client.
Please give me your full code.
from flightradar24-client.
radar(85,13,84,14)
! When there are no planes, your test script fails.
from flightradar24-client.
In a way, that's intended. There's no real way to check if the client properly parses the data from the API, so the test expects one or more flights. In 49cd6e0, I've made the tests fail up front if there are no flights.
from flightradar24-client.
Yeah, I see what you mean.
Sorry I wasn't very specific. But I was hoping to fix it in the library somewhere around here and instead return something we can more easily check, rather than "crashing". Especially since JS have this funny way of treating an empty list []
as a Boolean True, while turning the number converted one into a zero! I haven't tried the full query to see what is actually returned by the Fr24 JSON upon empty set.
from flightradar24-client.
Related Issues (20)
- add hint that the altitude is in feet HOT 4
- Improvement: Process additional JSON fields HOT 6
- An in-range update of fetch-ponyfill is breaking the build 🚨 HOT 2
- An in-range update of tape is breaking the build 🚨 HOT 1
- INFO: Added a new use of your module HOT 1
- An in-range update of moment-timezone is breaking the build 🚨 HOT 2
- An in-range update of tape is breaking the build 🚨 HOT 1
- An in-range update of moment-timezone is breaking the build 🚨 HOT 4
- adapt to the latest endpoint changes HOT 1
- An in-range update of moment-timezone is breaking the build 🚨 HOT 1
- An in-range update of tap-min is breaking the build 🚨 HOT 2
- can it be used with react-native ? HOT 2
- api calls are failing with 'forbidden' HOT 4
- API call again forbidden HOT 10
- Legal prosecutions 🤦🏻♂️
- broken due to api changes on flightradar site HOT 4
- add Typescript types declaration file (.d.ts) HOT 1
- README -- add shebang and command to run the code HOT 4
- clarify the meaning of north, west, south, east HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flightradar24-client.