This library provides easy access to Shinami APIs.
Project description
Shinami Python SDK
This package is an asynchronous API wrapper for the Shinami In-App Wallet (IAW) API.
Currently, this SDK supports the IAW methods below.
- shinami_key_createSession
- shinami_wal_createWallet
- shinami_wal_executeGaslessTransactionBlock
- shinami_wal_getWallet
How to Install
pip install shinami-python-sdk
How to Use
import asyncio
import os
from shinami_python_sdk.iaw import ShinamiIawClient
# Set Shinami API key.
SHINAMI_IAW_API_TOKEN = os.environ["SHINAMI_IAW_API_KEY"]
# Initialize IAW API client.
shinami_iaw_client = ShinamiIawClient(SHINAMI_IAW_API_KEY)
# Create a session_token.
session_token = asyncio.run(shinami_iaw_client.create_session("NOT_A_SECURE_SECRET"))
# Create a wallet.
wallet = asyncio.run(shinami_iaw_client.create_wallet("walletid123", session_token))
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file shinami_python_sdk-0.2.0.tar.gz.
File metadata
- Download URL: shinami_python_sdk-0.2.0.tar.gz
- Upload date:
- Size: 3.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.5.1 CPython/3.11.3 Darwin/22.6.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2e49f5a82a876b2cccf12c8fea45114bd8ad4b4212ed0504a89415507dfa5e82
|
|
| MD5 |
164b96b2db26806a957883bbd46e9d36
|
|
| BLAKE2b-256 |
c1d879b5746b83fcaa05a411c75090c135e4e09bb9533196a8c66e84c7bf5510
|
File details
Details for the file shinami_python_sdk-0.2.0-py3-none-any.whl.
File metadata
- Download URL: shinami_python_sdk-0.2.0-py3-none-any.whl
- Upload date:
- Size: 4.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.5.1 CPython/3.11.3 Darwin/22.6.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bf8a120553f7e919442ff0c928fc3d42c89c4daa063ee9fa257727a85576e925
|
|
| MD5 |
c024576a0b1a3aa8679a08c0b5749503
|
|
| BLAKE2b-256 |
a805b5f77b7918033dec7ccfcd1ca5c6c1a082d07be9f8013cda13938f6d7c99
|