Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 13 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,28 +13,30 @@ pymono is a python wrapper for <a href="https://mono.co"> Mono </a>

- Register on <a href="https://mono.co"> Mono </a> website and get your Authorization key.
- Setup your mono connect with your mono public key
- Set Your "MONO-SEC-KEY" env


## Installing
```python
pip install ??
pip install Py-mono
```


# Usage
```python

from pymono import Mono
mono=Mono('MONO-CONNECT-ID')
os.environ['MONO-SEC-KEY'] = " "

from pymono import Mono
mono=Mono('MONO-CONNECT-ID')

# Authenticate Mono api key and use mono conncet id
data,status=mono.Auth()
#set user id
mono.SetUserId(data.get('id'))
# return status and json data
mono.getAccount()

# Authenticate Mono api key and use mono conncet id
data,status=mono.Auth()
#set user id
mono.SetUserId(data.get('id'))
# return status and json data
mono.getAccount()
........
```

## Sanbox to test mono-connect
Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@
long_description = fh.read()

setup(
name='Mono_Python',
name='Py-mono',
version='0.0.1',
author='Ibrahim Hamzat',
author_email='hamat.ibrahim3@gmail.com',
description="A mono client package",
description="A fintech data aggregator api wrapper package",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/hamzzy/Mono-Python",
Expand Down