Flightxml::Json
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.
Installation
Add this line to your application's Gemfile:
gem 'flightxml-json'
And then execute:
$ bundle
Or install it yourself as:
$ gem install flightxml-json
Usage
You can initialize a Client for V2 or V3 via:
Flightxml::Client.new(username: "yourusername", token: "yourtoken", version: 3)
The version
keywarg is optional and defaults to version three.
The methods available to each version are most easily found in the docs for version 2 or version 3
Full generated documentation is available on rubydoc.info.
Contributing
Bug reports and pull requests are welcome on GitHub at https://github.com/jakewilkins/flightxml-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.
License
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.