Skip to content
This repository has been archived by the owner on Oct 24, 2024. It is now read-only.

Use the Federal Register API via http instead of the Ruby Gem #9

Open
ondrae opened this issue Oct 16, 2020 · 0 comments
Open

Use the Federal Register API via http instead of the Ruby Gem #9

ondrae opened this issue Oct 16, 2020 · 0 comments
Labels
Data! building an oh so fine data pipeline

Comments

@ondrae
Copy link
Contributor

ondrae commented Oct 16, 2020

What

Replace the Federal Register Ruby Gem with plain http requests to the API.

Why

The Federal Register Ruby Gem isn't feature complete. The two main missing features are:

  • Filtering on TYPE: 'NOTICE' doesn't work. Our prototypes are full of non-notices.
  • The data filter only takes exact days, not years like the API does. This is useful for exploring the data.

How

We are already using the httparty to make other web requests, use it to make these API calls as well. They have an example of how to turn it into its own class. Do that or just have big long ugly urls, that works too.

@ondrae ondrae added the Data! building an oh so fine data pipeline label Oct 19, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Data! building an oh so fine data pipeline
Projects
None yet
Development

No branches or pull requests

1 participant