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.

Source Distribution

vesicash-python-0.1.1rc1.tar.gz (3.9 kB view details)

Uploaded Source

File details

Details for the file vesicash-python-0.1.1rc1.tar.gz.

File metadata

  • Download URL: vesicash-python-0.1.1rc1.tar.gz
  • Upload date:
  • Size: 3.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.4.2 requests/2.20.0 setuptools/49.2.0 requests-toolbelt/0.8.0 tqdm/4.25.0 CPython/3.8.5

File hashes

Hashes for vesicash-python-0.1.1rc1.tar.gz
Algorithm Hash digest
SHA256 4ddfc04a64c8580913526cf12c1c347456218715331c2d0204473c3f4f13efaf
MD5 9b2728148766796f38557db3750a0564
BLAKE2b-256 58ae7f894b11f53e6aca975840d43c4fa717df39aa9a6fe7b848f67fc7cd7c3f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page