Skip to main content

API for PagSeguro in Python

Project description

API Pagseguro

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

[git]: "pyPagSeguro"

Some simple examples of what pyPagSeguro code looks like:
# -*- coding: utf-8 -*-
from pagseguropy import *
carrinho = Pagseguro(email_cobranca='',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()

Project details

Release history Release notifications | RSS feed

This version


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for pypagseguro, version 1.0
Filename, size File type Python version Upload date Hashes
Filename, size pypagseguro-1.0-py2.6.egg (19.1 kB) File type Egg Python version 2.6 Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page