Metadata-Version: 1.1
Name: aplazame-sdk
Version: 0.2.7
Summary: Python SDK for Aplazame REST API
Home-page: https://github.com/aplazame/aplazame-sdk
Author: aplazame
Author-email: dev@aplazame.com
License: Apache 2.0
Description: Aplazame Python Sdk
        ===================
        
        |Build Status|
        
        |Aplazame|
        
        `Aplazame`_, a consumer credit company, offers a payment system that can be
        used by online buyers to receive funding for their purchases.
        
        Installation
        ------------
        
        To install aplazame-sdk, simply:
        
        .. code:: sh
        
            $ pip install aplazame-sdk
        
        Usage
        -----
        
        .. code:: python
        
            >>> import aplazame_sdk
            >>> client = aplazame_sdk.Client('token', sandbox=True, version='1', ctype='json')
            >>> r = client.orders(page=2)
            >>> r.json()
            {
              "cursor": {
                "after": 3,
                "before": 1
              },
              "paging": {
                "count": 314,
                "next": "https://api.aplazame.com/orders?page=3",
                "previous": "https://api.aplazame.com/orders?page=1"
              },
              "results": [
              ]
            }
            >>> r.status_code
            200
        
        Exceptions
        ----------
        
        .. code:: python
        
            >>> import aplazame_sdk
            >>> client = aplazame_sdk.Client('token')
            >>> try:
            ...     r = client.get_order('buh')
            ... except aplazame_sdk.AplazameError as err:
            ...     err.code
            404
        
        Http
        ----
        
        .. code:: http
        
            GET /orders HTTP/1.1
            Accept: application/vnd.aplazame.sandbox.v1+json
            Authorization: Bearer ->token<-
            Host: api.aplazame.com
        
            HTTP/1.1 200 OK
            Content-Type: application/vnd.aplazame.sandbox.v1+json
        
        Documentation
        -------------
        
        Documentation is available at `docs.aplazame.com`_.
        
        .. _Aplazame: https://aplazame.com
        .. _docs.aplazame.com: http://docs.aplazame.com
        
        .. |Build Status| image:: https://img.shields.io/pypi/v/aplazame-sdk.svg
           :target: https://pypi.python.org/pypi/aplazame-sdk
        .. |Aplazame| image:: https://aplazame.com/landing-assets/images/banners/banner-1517-white.png
           :target: https://aplazame.com
        
        
        Change Log
        ==========
        
        `0.2.6`_ (2015-12-11)
        ---------------------
        
        `Full Changelog v0.2.6`_
        
        * Replace detail by get
        * Fix tests
        
        `0.2.5`_ (2015-12-11)
        ---------------------
        
        `Full Changelog v0.2.5`_
        
        * Operations and payments summary
        * Tests
        
        `0.2.4`_ (2015-12-05)
        ---------------------
        
        `Full Changelog v0.2.4`_
        
        * Instalment payments
        * Tests
        
        `0.2.3`_ (2015-10-13)
        ---------------------
        
        `Full Changelog v0.2.3`_
        
        * Payments
        * Merchant requests
        * Tests
        
        `0.2.2`_ (2015-09-15)
        ---------------------
        
        `Full Changelog v0.2.2`_
        
        * Fix lists kwargs
        * Add /me and operations
        * ci pull request strategy
        * ci publish on pypi
        * ci package versioning
        
        `0.2.1`_ (2015-08-24)
        ---------------------
        
        `Full Changelog v0.2.1`_
        
        * ci deploy master
        * Simulator request
        * Fix minor errors
        
        `0.2.0`_ (2015-07-20)
        ---------------------
        
        * Makefile
        * ci with drone.io
        * Coverage 100%
        * Test and build requirements
        * Add badges
        * Get method params strategy
        
        .. _0.2.0: https://github.com/aplazame/aplazame-sdk/tree/v0.2.0
        .. _0.2.1: https://github.com/aplazame/aplazame-sdk/tree/v0.2.1
        .. _0.2.2: https://github.com/aplazame/aplazame-sdk/tree/v0.2.2
        .. _0.2.3: https://github.com/aplazame/aplazame-sdk/tree/v0.2.3
        .. _0.2.4: https://github.com/aplazame/aplazame-sdk/tree/v0.2.4
        .. _0.2.5: https://github.com/aplazame/aplazame-sdk/tree/v0.2.5
        .. _0.2.6: https://github.com/aplazame/aplazame-sdk/tree/v0.2.6
        .. _Full Changelog v0.2.1: https://github.com/aplazame/aplazame-sdk/compare/v0.2.0...v0.2.1
        .. _Full Changelog v0.2.2: https://github.com/aplazame/aplazame-sdk/compare/v0.2.1...v0.2.2
        .. _Full Changelog v0.2.3: https://github.com/aplazame/aplazame-sdk/compare/v0.2.2...v0.2.3
        .. _Full Changelog v0.2.4: https://github.com/aplazame/aplazame-sdk/compare/v0.2.3...v0.2.4
        .. _Full Changelog v0.2.5: https://github.com/aplazame/aplazame-sdk/compare/v0.2.4...v0.2.5
        .. _Full Changelog v0.2.6: https://github.com/aplazame/aplazame-sdk/compare/v0.2.5...v0.2.6
        
Keywords: python,aplazame,api,rest,sdk
Platform: UNKNOWN
Classifier: Programming Language :: Python
Classifier: Natural Language :: English
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2.6
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.3
Classifier: Programming Language :: Python :: 3.4
