Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.3 / 3....
  • LibreOffice 3.6.6 / 4.0.3
  • MPlayer 1.1.1
  • systemd 204
  • Arch Linux 2013.05.01
  • Blender 2.67a
  • KDE Software Compilatio...
  • CrunchBang Linux Stable...
  • Elementary OS 0.1 / 0.2...
  • SystemRescueCd 3.6.0
  • Home > Linux > Programming > Libraries

    pyipay 0.1.1

    Download button

    No screenshots available
    Downloads: 55  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Chee-Hyung Yoon | More programs
    Other/Proprietary Li... / FREE
    September 11th, 2012, 18:10 GMT
    ROOT / Programming / Libraries

     Read user reviews (0)  Refer to a friend  Subscribe

    pyipay description

    A Python library for accessing the Auction iPay API

    pyipay is a Python module for accessing the Auction's iPay API.

    Installation

    pip install pyipay

    Usage

        import pyipay

        # Creates the API instance
        ipay = pyipay.IpayAPI("Your iPay ID", "Your iPay Key")

        # Creates an item
        item = ipay.create_item(
            "Test Item", "Test order", price=10, qty=2, option="Test option",
            item_url="http://localhost/item/", thumbnail_url="http://localhost/thumb",
            cancellable=True
        )
        items = (item, )

        # Creates an order
        order = ipay.create_order(
            payment_rule=0, total=20, shipping_price=0, shipping_type=1,
            back_url="http://localhost/back", service_url="http://localhost/service",
            redirect_url="http://localhost/redirect", address_required=False,
            redirection_enabled=True
        )

        # Places the order
        result = ipay.place_order(order, items)
        print result



    Product's homepage

    Requirements:

    · Python

      


    TAGS:

    Auction iPay | iPay API | Python library | Python | Auction | iPay

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM