Python client for QIWI payment system

Overview

Pyqiwi

Build Status Coverage Status Gitter

Lib for QIWI payment system

Installation

pip install pyqiwi

Usage

from decimal import Decimal
from datetime import datetime, timedelta

from pyqiwi import Qiwi


qiwi = Qiwi('<shop_id>', '<app_id>', '<app_password>', '<notifications_password>')

qiwi.create_invoice(
    invoice_id='101',  # Must be unique for your shop
    amount=Decimal('22.00'),
    currency='RUB',
    comment='Order #101', 
    user='tel:+79998887766',
    lifetime=datetime.now()+timedelta(hours=1),  # Must be in Europe/Moscow timezone
)

print 'Invoice info:', qiwi.get_invoice('101')
print 'To pay invoice go to:', qiwi.get_invoice_url('101')
You might also like...
🐍 The official Python client library for Google's discovery based APIs.

Google API Client This is the Python client library for Google's discovery based APIs. To get started, please see the docs folder. These client librar

Python client for Arista eAPI

Arista eAPI Python Library The Python library for Arista's eAPI command API implementation provides a client API work using eAPI and communicating wit

Python API Client for Close

Close API A convenient Python wrapper for the Close API. API docs: http://developer.close.com Support: [email protected] Installation pip install clos

Python client for CoinPayments API

pyCoinPayments - Python API client for CoinPayments Updates This library has now been converted to work with python3 This is an unofficial client for

DEPRECATED - Official Python Client for the Discogs API

⚠️ DEPRECATED This repository is no longer maintained. You can still use a REST client like Requests or other third-party Python library to access the

The Foursquare API client for Python

foursquare Python client for the foursquare API. Philosophy: Map foursquare's endpoints one-to-one Clean, simple, Pythonic calls Only handle raw data,

python3.5+ hubspot client based on hapipy, but modified to use the newer endpoints and non-legacy python

A python wrapper around HubSpot's APIs, for python 3.5+. Built initially around hapipy, but heavily modified. Check out the documentation here! (thank

Python Client for Instagram API

This project is not actively maintained. Proceed at your own risk! python-instagram A Python 2/3 client for the Instagram REST and Search APIs Install

The official Python client library for the Kite Connect trading APIs

The Kite Connect API Python client - v3 The official Python client for communicating with the Kite Connect API. Kite Connect is a set of REST-like API

Comments
  • Nice lib

    Nice lib

    I see this is a new repository, is it functional already? How to test it? (Does QIWI provide developer accounts/server?) They have terrible docs, thanks for sharing your code. When you can add a demo/example code.

    Cheers

    opened by AndreiRegiani 2
Releases(v0.2)
Owner
Andrey
Andrey
An App to get Ko-Fi payment updates on Telegram.

Deployments. Heroku.com ?? Replit.com ?? Make sure your app runs 24*7 Zeet.co ?? Use this :~ Get Bot token from @botfather ?? Get ID where you want to

Jainam Oswal 16 Nov 12, 2022
Uses discords api to see if a token has a valid payment method.

Discord Payment Checker Uses discords api to see if a token has a valid payment method. Report Bug · Request Feature Features Checks tokens Checks all

dropout 10 Dec 1, 2022
Discord Crypto Payment Cards Selfbot

A Discord selfbot that serves the purpose of displaying text and QR versions of your BTC, LTC & ETH payment information for easy and simple commercial or personal transactions.

null 2 Apr 12, 2022
Dns-Client-Server - Dns Client Server For Python

Dns-client-server DNS Server: supporting all types of queries and replies. Shoul

Nishant Badgujar 1 Feb 15, 2022
Raphtory-client - The python client for the Raphtory project

Raphtory Client This is the python client for the Raphtory project Install via p

Raphtory 5 Apr 28, 2022
Drcom-pt-client - Drcom Pt version client with refresh timer

drcom-pt-client Drcom Pt version client with refresh timer Dr.com Pt版本客户端 可用于网页认

null 4 Nov 16, 2022
Student-Management-System-in-Python - Student Management System in Python

Student-Management-System-in-Python Student Management System in Python

G.Niruthian 3 Jan 1, 2022
Mushahid Ali 1 Dec 31, 2021
Official Python client for the MonkeyLearn API. Build and consume machine learning models for language processing from your Python apps.

MonkeyLearn API for Python Official Python client for the MonkeyLearn API. Build and run machine learning models for language processing from your Pyt

MonkeyLearn 157 Nov 22, 2022
🖥️ Python - P1 Monitor API Asynchronous Python Client

??️ Asynchronous Python client for the P1 Monitor

Klaas Schoute 9 Dec 12, 2022