Library for obtaining cnpj information via scraping from the receitaws website.
Project description
cnpjinfo
cnpjinfo is a library for obtaining cnpj information via scraping from the receitaws website.
Features
- CNPJ information via receitaws website.
Installation
- Run
pip install cnpjinfo
Exxemple
from cnpjinfo import cnpjinfo
info = cnpjinfo('12345678901234')
nome = info.get('nome')
tel = info.get('telefone')
print (f'Nome: {nome}, Tel: {tel}'))
console output
foo@bar:~$ ./myscript.py
Nome: COMPANY NAME., Tel: (11) 1111-1111
foo@bar:~$
Upgrade
- Run
pip install cnpjinfo --upgrade
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
cnpjinfo-0.0.2.tar.gz
(2.9 kB
view hashes)