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 | RSS feed

This version

1.0

Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

pypagseguro-1.0-py2.6.egg (19.1 kB view details)

Uploaded Source

File details

Details for the file pypagseguro-1.0-py2.6.egg.

File metadata

File hashes

Hashes for pypagseguro-1.0-py2.6.egg
Algorithm Hash digest
SHA256 e33b8c2e19692ce5f87458ae6f980db11210bd070f139ce65e0540104212c8be
MD5 c0ec9f791fb8f80433d9c071a459025e
BLAKE2b-256 f4218ea27b8882bd024702243576ea403f29aeda91e863328290494d2ddecd71

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page