Catalog PyPI
PACKAGE EXPLORERView in registry

addispayweb

PyPI

Python package used to integrate Addispay web API

Versions collected1
Direct dependencies4From release 0.1.0
Last observed20 Oct, 19:18 UTC

README

Version 0.1.0 documentation

AddispayWeb

Python package used to integrating Addispay web API with your project.

import os
from dotenv import load_dotenv
from addispay import AddisPay
from utils import generate_unique

load_dotenv()

publickey = os.environ.get("publickey")
privatekey = os.environ.get("privatekey")
Auth = os.environ.get("Auth")
addispay = AddisPay(publickey, privatekey, Auth)
total_amount=12
tx_ref="TX-bcd"
currency="ETB"
first_name="Annis"
email="annis@gmail.com"
phone_number="0988888888"
last_name="Nelson",
session_expiration_minute=12
nonce=generate_unique([], 32)
notify_url="https://example.com/"
return_url="https://example.com/"
message="from customer to ..."
order_detail={}
response = addispay.send_request(total_amount=total_amount, tx_ref=tx_ref, currency=currency, first_name=first_name,email=email,phone_number=phone_number,last_name=last_name,session_expiration_minute=session_expiration_minute,nonce=nonce,notify_url=notify_url,return_url=return_url,message=message,order_detail=order_detail)
print(response.json)

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Versions 1

Collected releases
VersionPublishedDirect dependenciesOpen version
0.1.03 Jul 20244

Package advisories

0
No matching advisories collected

This describes our collected data; it is not a security assessment.

Repository

PENDING
addispay/addispaypythonpackage

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 19:18 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package:128b0c8b516413d27f338c627e4e0fbb3af183af4aae17469f4aceec61c40495