Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/iugu/iugu-python
https://github.com/iugu/iugu-python
Last synced: 30 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/iugu/iugu-python
- Owner: iugu
- License: mit
- Created: 2014-05-08T20:26:12.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2021-11-27T09:07:07.000Z (about 3 years ago)
- Last Synced: 2024-10-30T02:56:20.273Z (about 1 month ago)
- Language: Python
- Size: 14.6 KB
- Stars: 29
- Watchers: 13
- Forks: 26
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGES.txt
- License: LICENSE.txt
Awesome Lists containing this project
- starred-awesome - iugu-python - (Python)
README
# Iugu
The Iugu provides a Python REST APIs to create, process and manage payments.
## Installation
Using pip:
$ pip install iugu
From source code:
Clone the source:
$ git clone [email protected]:iugu/iugu-python.git
Execute the setup script:
$ cd iugu-python
$ python setup.py install## Usage
You should import and create an iugu instance using your [api token](https://dev.iugu.com/reference#section-criando-suas-chaves-de-api-api-tokens):
```py
import iugu
api = iugu.config(token=IUGU_API_TOKEN)
```After that you can use the instance to iniciate the module you need, example:
```py
# token api
iugu_token_api = iugu.Token()
# customer api
iugu_customer_api = iugu.Customer()
```To see all available modules, check the [iugu folder](https://github.com/iugu/iugu-python/tree/master/iugu) of this project.
## Documentation
Visit [iugu.com/referencias/api](http://iugu.com/referencias/api) for api reference or [iugu.com/documentacao](http://iugu.com/documentacao) for full documentation
## Author
Originally by [Felipe Tomaz](https://github.com/lspecian) and [Arthur Furlan](https://github.com/arthurfurlan).
## Contributor
[André Kiffer](https://github.com/andrekiffer).
[Rodolpho Pivetta Sabino](https://github.com/rodolphopivetta).
[Joabe Mendes](https://github.com/JoabMendes).