Skip to main content

myqiwi

Build Status PyPi Package Version PyPi status Downloads Supported python versions repository size

Возможности

  • Переводы на любой Qiwi Кошелек
  • Статистика по платежам
  • Получение информации о пользователе
  • Сортировка платежей по типу(в/из), валюте.
  • Определение провайдера мобильного телефона

Использование

import myqiwi
wallet = myqiwi.Wallet(token)

Быстрый туториал

Получить текущий баланс

print(wallet.balance())

Отправка платежа

payee = "7999778909" # Получатель платежа
sum = 50 # Сумма перевода. Обязательно в рублях!
comment = "Перевод сделан с помощью библиотеки myqiwi" # Необязательный аргумент

wallet.send_money(payee,sum,comment)

Генерация комментария и ожидание платежа

need_sum = 100
resp = qiwi.gen_payment(need_sum) # Генерируем комментарий и ссылку к платежу

text = "Переведите {} рублей на номер {}, указав в комментариях {}"
text = text.format(need_sum, phone, resp["comment"])
print(text)
print("Ссылку на форму с оплатой: {}".format(resp["link"]))

payment = qiwi.search_payment(resp["comment"], need_sum=need_sum)

if payment["status"]:
    print("Поступило пополнение на сумму {} рублей!".format(payment["sum"]))
else:
    print("Пополнения не обнаружено! :(")

Metadata

Release files for myqiwi 0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for myqiwi 0.1
File Interpreter ABI Platform
myqiwi-0.1-py3-none-any.whl Python 3 none any Details

Release files / myqiwi-0.1-py3-none-any.whl

Download URL myqiwi-0.1-py3-none-any.whl
Size 8.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a290b076569829cb1744484c1bf40c4113d01440d551282838c6b18441bff9dd
BLAKE2b-256 checksum
How to use checksums
ac4d84f0aa6a9559151ba9071dc559ed33e4d9f235a81e8f4c38bdaf6b20066a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.6

Security for myqiwi 0.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page