
Security News
New Website “Is It Really FOSS?” Tracks Transparency in Open Source Distribution Models
A new site reviews software projects to reveal if they’re truly FOSS, making complex licensing and distribution models easy to understand.
The Department of Transportation maintains the SaferBusAPI to provide safety information pertaining to transporation companies. Information related to this API and instructions for access the API can be found here: https://mobile.fmcsa.dot.gov/developer/apidescription.page?cid=561
Add this line to your application's Gemfile:
gem 'safer_bus_api'
Then run:
bundle install
Set your api_token obtained from registering at https://mobile.fmcsa.dot.gov/developer/UserAccountCreate.page
Note: Once registered you will be emailed a registration token which you can then use to complete your registration and obtain an api token for your application
SaferBusApi.configure do |config|
config.api_token = 'your-token-here'
end
request = SaferBusApi::Request.new(dot_number: '44110')
response = request.perform
response.data # Returns a formatted hash
response.raw_data # Returns the raw response from
request = SaferBusApi::Request.new(company_name: 'greyhound') # Note: company name should have no spaces and be all lower case.
response = request.perform
response.data # Returns a formatted hash
request = SaferBusApi::Request.new(mc_number: '1515') # Note: company name should have no spaces and be all lower case.
response = request.perform
response.data # Returns a formatted hash
git checkout -b my-new-feature
)rspec
git commit -am 'Added some feature'
)git push origin my-new-feature
)FAQs
Unknown package
We found that safer_bus_api 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
A new site reviews software projects to reveal if they’re truly FOSS, making complex licensing and distribution models easy to understand.
Security News
Astral unveils pyx, a Python-native package registry in beta, designed to speed installs, enhance security, and integrate deeply with uv.
Security News
The Latio podcast explores how static and runtime reachability help teams prioritize exploitable vulnerabilities and streamline AppSec workflows.