Skip to main content

API for PagSeguro in Python

Project description

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 pagseguropy import *
carrinho = Pagseguro(email_cobranca='pagseguro@visie.com.br',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

This version
History Node

1.0

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
pypagseguro-1.0-py2.6.egg (19.1 kB) Copy SHA256 hash SHA256 Egg 2.6 Jan 7, 2011

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page