
Product
Introducing Socket Firewall Enterprise: Flexible, Configurable Protection for Modern Package Ecosystems
Socket Firewall Enterprise is now available with flexible deployment, configurable policies, and expanded language support.
A Ruby gem for interacting with the FAA's Aeronautical Products Release API (APRA).
Add this line to your application's Gemfile:
gem 'faa_apra'
And then execute:
$ bundle install
Or install it yourself as:
$ gem install faa_apra
First, obtain your API credentials from the FAA External API Portal.
require 'faa_apra'
# Initialize with client credentials
client = FaaApra.new(
'your_client_id',
'your_client_secret'
)
# Or use environment variables
# export FAA_APRA_CLIENT_ID=your_client_id
# export FAA_APRA_CLIENT_SECRET=your_client_secret
client = FaaApra.new
# Get Coded Instrument Flight Procedures (CIFP)
cifp_data = client.cifp_chart
cifp_info = client.cifp_info(edition: 'current')
# Get Terminal Procedure Publication (TPP) chart
tpp_data = client.dtpp_chart(
edition: 'current',
area: 'US',
format: 'all'
)
# Get Sectional Chart data
chart_data = client.sectional_chart(
edition: 'current',
geoname: 'NEW_YORK',
format: 'pdf'
)
# Get IFR Enroute Chart data
ifr_data = client.ifr_enroute_chart(
edition: 'current',
altitude: 'high',
format: 'pdf'
)
The gem provides access to the following FAA APRA API endpoints:
cifp_chart(edition: 'current') - Get CIFP chart download linkcifp_info(edition: 'current') - Get CIFP edition informationddof_chart - Get DDOF download linkddof_info - Get DDOF edition informationdec_chart(edition: 'current') - Get DEC chart download linkdec_info(edition: 'current') - Get DEC edition informationdtpp_chart(edition: 'current', area: 'US', format: 'all') - Get TPP chart download linkdtpp_info(edition: 'current', area: 'US') - Get TPP edition informationsectional_chart(edition: 'current', geoname: nil, format: 'pdf') - Get Sectional Chart download linksectional_info(edition: 'current', geoname: nil, format: 'pdf') - Get Sectional Chart edition informationgrand_canyon_chart(edition: 'current', format: 'pdf') - Get Grand Canyon VFR Chart download linkgrand_canyon_info(edition: 'current', format: 'pdf') - Get Grand Canyon VFR Chart edition informationifr_enroute_chart(edition: 'current', geoname: nil, altitude:, format: 'pdf') - Get IFR Enroute Chart download linkifr_enroute_info(edition: 'current', geoname: nil, altitude:, format: 'pdf') - Get IFR Enroute Chart edition informationAfter checking out the repo, run bin/setup to install dependencies. Then, run rake spec to run the tests. You can also run bin/console for an interactive prompt that will allow you to experiment.
To install this gem onto your local machine, run bundle exec rake install. To release a new version, update the version number in version.rb, and then run bundle exec rake release, which will create a git tag for the version, push git commits and the created tag, and push the .gem file to rubygems.org.
Bug reports and pull requests are welcome on GitHub at https://github.com/yourusername/faa_apra. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the code of conduct.
The gem is available as open source under the terms of the MIT License.
Everyone interacting in the FaaApra project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the code of conduct.
FAQs
Unknown package
We found that raad-apra demonstrated a healthy version release cadence and project activity because the last version was released less than 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.

Product
Socket Firewall Enterprise is now available with flexible deployment, configurable policies, and expanded language support.

Security News
Open source dashboard CNAPulse tracks CVE Numbering Authorities’ publishing activity, highlighting trends and transparency across the CVE ecosystem.

Product
Detect malware, unsafe data flows, and license issues in GitHub Actions with Socket’s new workflow scanning support.