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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file foodreversefda-0.1.8.tar.gz.
File metadata
- Download URL: foodreversefda-0.1.8.tar.gz
- Upload date:
- Size: 2.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.7.1 CPython/3.11.4 Windows/10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
620c7262afd2a3fb53af45539049ca640a33ffab4e14cb308ae145929d1931b8
|
|
| MD5 |
a676c0c6f74a7d528ef4ba16228d83c5
|
|
| BLAKE2b-256 |
506115085383551eececbcfe645c23cf6e0d8dee3c8c9e12a21c721403d65e91
|
File details
Details for the file foodreversefda-0.1.8-py3-none-any.whl.
File metadata
- Download URL: foodreversefda-0.1.8-py3-none-any.whl
- Upload date:
- Size: 5.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.7.1 CPython/3.11.4 Windows/10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b7b8254b98164b44476c148f7977ab86608da836e5ff480cdccf2d0bc12e8eeb
|
|
| MD5 |
5b108a2147155d0ac24ad692fd5698ea
|
|
| BLAKE2b-256 |
4531bbb2eb0a68b4356396805877cc5685bd5ce60dafba20fab09eecd1481c8f
|