CryptomusAPI
Easy interaction with Cryptomus API, support for asynchronous approaches
Install / Use
/learn @Fsoky/CryptomusAPIREADME
[!WARNING] Current Version in DEV. MODE (beta. u know.)
- Installation using the pip package manager
$ pip install CryptomusAPI
- Install from GitHub (requires git)
$ git clone https://github.com/Fsoky/CryptomusAPI
$ cd CryptomusAPI
$ python setup.py install
- Or
$ pip install git+https://github.com/Fsoky/CryptomusAPI
<h1 align="center">Get Started</h1>
[!TIP] Refer to the documentation in any unclear situation: https://doc.cryptomus.com/
To get MERCHANT_ID and API_KEY register and send an application to https://cryptomus.com/⚠ Make sure you have a ready project in which you will connect Cryptomus otherwise the key will not be issued!
import asyncio
from CryptomusAPI import CryptomusClient
api = CryptomusClient("MERCHANT-UUID", "API-KEY")
async def main() -> None:
invoice = await api.create_invoice(
amount=10,
currency="USDT"
network="tron",
lifetime=300
)
print(invoice.url)
await api.session.close()
if __name__ == "__main__":
asyncio.run(main())
Related Skills
gh-issues
352.0kFetch GitHub issues, spawn sub-agents to implement fixes and open PRs, then monitor and address PR review comments. Usage: /gh-issues [owner/repo] [--label bug] [--limit 5] [--milestone v1.0] [--assignee @me] [--fork user/repo] [--watch] [--interval 5] [--reviews-only] [--cron] [--dry-run] [--model glm-5] [--notify-channel -1002381931352]
oracle
352.0kBest practices for using the oracle CLI (prompt + file bundling, engines, sessions, and file attachment patterns).
taskflow-inbox-triage
352.0kname: taskflow-inbox-triage description: Example TaskFlow authoring pattern for inbox triage. Use when messages need different treatment based on intent, with some routes notifying immediately, some w
taskflow
352.0kname: taskflow description: Use when work should span one or more detached tasks but still behave like one job with a single owner context. TaskFlow is the durable flow substrate under authoring layer
