![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
schiphol-client-js
Advanced tools
A Node.js wrapper for Schiphol Flight API. For more details about the Schiphol Flight API, you can always refer to here. This wrappers contains both v1 and v3 version endpoints from the API.
Use the following command to install and save the package in your package.json:
npm install schiphol-client-js --save
To use the client, first import the package and call a query as follows. Each query will return a promise for further chaining.
var Client = require('schiphol-client-js');
var client = new Client('yourAppId', 'yourAppKey');
client.findFlights().then((data) => {
console.log(data);
}).catch((error) => {
console.log(error);
});
To run the tests:
npm test
Note that for all the following params
, all parameters should be wrapped in a object and passed to the API.
Return all flights of a specific date. If no parameters are passed, the flights of today will be returned. An example:
var params = {
airline: 'KL',
flightdirection: 'A'
}
For all possible parameters, please check here.
Retrieve one flight by its ID. The input ID is mandatory for this function and should be a string.
Retrieve a codeshare by the ID and the name of a flight. Both input parameters are mandatory. The ID is a string and the flightName should be a string.
Retrieve a list of destinations. If no parameters are passed, all possible destinations will be returned. For all possible parameters, see here.
Retrieve one desitination based on IATA code. The input IATA code is mandatory. An IATA code should be a string.
Retrieve a list of all aircraft types. If no paramters are passed, all aircraft types will be returned. For all optional input parameters, please check here.
Retrieve a list of airlines. If no paramters are passed, all possible airlines will be returned. For all optional input parameters, see here.
Retrieve an airline based on an airline code, either IATA code or ICAO code. The input airline code is mandatory. An airline code should be a string.
FAQs
A Node.js wrapper for Schiphol API
We found that schiphol-client-js demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.