Ruby API Client for FederalRegister.gov that handles searching documents and getting basic information about agencies.
For more information about the FederalRegister.gov API, see http://www.federalregister.gov/learn/developers
FederalRegister::Document.find('2011-17721').title
result_set = FederalRegister::Document.search(:conditions => {:term => "Accessibility"})
# or result_set = FederalRegister.find_all('2011-17721','2011-17722')
result_set.count
result_set.results.each do |document|
puts "#{document.title} by #{document.agencies.map(&:name)}"
end
FederalRegister::Agency.all.each do |agency|
puts agency.name
end
This project is in the public domain within the United States, and copyright and related rights in the work worldwide are waived through the CC0 1.0 Universal public domain dedication.
All contributions to this project will be released under the CC0 dedication. By submitting a pull request, you are agreeing to comply with this waiver of copyright interest.