pycorreiosAPI Correios | |
Download |
pycorreios Ranking & Summary
Advertisement
- License:
- MIT/X Consortium Lic...
- Publisher Name:
- Thiago Avelino
- Publisher web site:
- http://avelino.us
pycorreios Tags
pycorreios Description
API Correios pycorreios is an API for correios in Python.Installation:If you have setuptools you can use easy_install -U pycorreios. Otherwise, you can download the source from GitHub and run python setup.py install.Examples:Some simple examples of what pyCorreios code looks like: # -*- coding: utf-8 -*- from pycorreios import Correios test = Correios().frete(Correios().SEDEX,'44001535','03971010',10,18,8) if test != '0': print 'Deu erro! :(' print test print test else: print "Valor: %s\nPrazo de Entrega: %s" % (test,test) other_test = Correios().cep(44010000) print other_test Requirements: · Python
pycorreios Related Software