Skip to content

Latest commit

 

History

History
32 lines (26 loc) · 757 Bytes

README.md

File metadata and controls

32 lines (26 loc) · 757 Bytes

anvisa-data-dumper

A library for extracting ANVISA data from their website.
Uma biblioteca para extração de dados a partir do site da ANVISA.

This repository is still under development and is not stable.

Features

✔️ Download drugs data
❌ Download drug details data
❌ Download drugs leaflets
❌ Export data as JSON, xlsx and CSV
❌ Filter data before downloading
❌ Documentation

Usage

Clone the repository

git clone https://github.com/rafaelmartinsrm/anvisa-data-dumper.git

Install the dependencies

pip install -r requirements.txt

Use it

from anvisa_data_dumper.drugs import Drugs
Drugs().dump(threads=4)

Each page from ANVISA's API will be downloaded to /cache/drugs/pagenumber.json