No project description provided
Project description
foodreversefda
This API client package provides some basic search functionalities on FDA's open api.
Description
All following functions generate accordingly json file containing FDA food reverse events.
Getting Started
Dependencies
- python = "^3.10"
- requests = "^2.31.0"
- vcrpy = "^5.1.0"
- pytest = "^7.3.1"
Installing
- pip install foodreversefda
Executing program
Functions include:
- id_get()
- date_get()
- class_get()
- city_get()
First, pass parameters to Class, then call function inside Class. Classes include:
- ID
- Date
- Classification
- City
#Example for id_get()
import foodreversefda
id_instance = ID["000000", "111111"]
info = id_instance.id_get()
# "000000" and "111111" are placeholders for actual 'event_id'
# You can search for multiple 'event_id's
Author
Yifei Chen
yc4307@columbia.edu
License
MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
foodreversefda-0.1.8.tar.gz
(2.7 kB
view hashes)
Built Distribution
Close
Hashes for foodreversefda-0.1.8-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b7b8254b98164b44476c148f7977ab86608da836e5ff480cdccf2d0bc12e8eeb |
|
MD5 | 5b108a2147155d0ac24ad692fd5698ea |
|
BLAKE2b-256 | 4531bbb2eb0a68b4356396805877cc5685bd5ce60dafba20fab09eecd1481c8f |