- Set API key if it is available and send it in with every request
- Animal & Veterinary Endpoint
- Tobacco Endpoint
- Other Endpoint
- Include Food endpoints
- Include Device endpoints
- Pull out Endpoint common behavior to a base class
- Filled out the following Drug endpoints:
- product_labeling
- ndc_directory
- recall_enforcement_reports
- drugs_at_fda
- Delete the
OpenFdaApi.client
method since its only function was to forward messages
- Use Faraday instead of using Net::HTTP directly
- Introduce
QueryInputs
to group query params passed in together
- Support for more query fields
- Validate, against search fields given to us from openFDA API, when building queries.
- Fix version string in changelog.
- Update Query Builder to group search arguments properly.
- Update Query Builder to replace spaces with pluses in search values as openFDA API documentation requires.
- Update version again because CHANGELOG wasn't updated along with the 0.0.2 release.
- Add
OpenFdaApi::Client#drugs
to interact with the FDA Drug endpoints.- The
adverse_events
endpoint has been implemented in a very limited capacity.
- The
- Add
OpenFdaApi::Client.new(api_key:)
to create a client which does nothing right now.