Skip to content

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

License

Notifications You must be signed in to change notification settings

rafaelmartinsrm/anvisa-data-dumper

Repository files navigation

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

About

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

Topics

Resources

License

Stars

Watchers

Forks

Languages