Skip to content

avelino/pypagseguro

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

API Pagseguro
============

Installation
============
If you have _setuptools_ you can use 
    $ easy_install -U pypagseguro
Otherwise, you can download the source from [GitHub][git] and run 
    $ python setup.py install

[git]: https://github.com/avelino/pypagseguro "pyPagSeguro"

Examples
========
Some simple examples of what pyPagSeguro code looks like:
    # -*- coding: utf-8 -*-
    from pypagseguro import *
    carrinho = Pagseguro(email_cobranca='[email protected]',tipo='CP')
    carrinho.item(id=1, descr='Um produto de exemplo', quant=5, valor=10)
    carrinho.item(id=2, descr='Outro produto de exemplo', quant=2, valor=100)
    print carrinho.mostra()

About

Biblioteca Python para PagSeguro

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages