Flightxml::Json provides access to both FlightXML2 and FlightXML3 data via the JSON API.
The main interface is generated based on the definitions published in the WSDL for the SOAP service, and generation is performed nightly via GitHub Actions.
Add this line to your application's Gemfile:
And then execute:
Or install it yourself as:
$ gem install flightxml3-json
You can initialize a Client for V2 or V3 via:
Flightxml::Client.new(username: "yourusername", token: "yourtoken", version: 3)
version keywarg is optional and defaults to version three.
The methods available to each version are most easily found in
Documentation pull requests are most welcome.
Bug reports and pull requests are welcome on GitHub at https://github.com/jakewilkins/flightxml3-json. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.
The gem is available as open source under the terms of the MIT License.
Code of Conduct
Everyone interacting in the Flightxml3::Json project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the code of conduct.