Skip to main content

A python library to consume Vesicash API

Project description

Vesicash Python SDK v1.0.0

Vesicash Logo

Table Of Contents

  1. Installation
  2. Usage
  3. Available Services
  4. Contribution
  5. Bug Reporting

1.Installation

pip install vesicashapi

2. Usage

Create Transaction

transaction = Transactions.create(
    title="Purchase Of An Iphone",
    type="oneoff",
    quantity=1,
    amount=20000,
    description="Iphone Purchase",
    parties={
        'sender': 5841206525,
        'recipient': 9432695230,
        'buyer': 5841206525,
        'seller': 9432695230,
        'charge_bearer': 5841206525
    },
    inspection_period=1,
    due_date="2/12/2020",
    currency="NGN"
)

print(transaction)`

# Login / Sign Up
`from vesicashapi.auth import Auth

"""
Login example
"""

login = Auth.login(
    username="precious@vesicash.com",
    password="test"
)

print(login)

"""
Sign up example
"""

signup = Auth.signup(
    email_address="precious@vesicash.com",
    password="test"
)

print(signup)```

### 3. Available Services
1. Authentication
2. Admin
3. Transactions
4. Payment
5. Notifications
6. Upload
7. Subscription

### 4. Contribution
Make a pull request with detailed explanation of what got changed/improved/suggested.

### 5. Bug Reporting
Open an issue! Thanks.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for vesicash-python, version 0.1.1rc1
Filename, size File type Python version Upload date Hashes
Filename, size vesicash-python-0.1.1rc1.tar.gz (3.9 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page