### Installing CryptomusAPI from GitHub (Clone) Source: https://github.com/fsoky/cryptomusapi/blob/main/README.md These commands clone the CryptomusAPI repository from GitHub, navigate into the directory, and then install the package using its setup.py script. This method requires Git to be installed on the system. ```bash $ git clone https://github.com/Fsoky/CryptomusAPI $ cd CryptomusAPI $ python setup.py install ``` -------------------------------- ### Installing CryptomusAPI from GitHub (pip direct) Source: https://github.com/fsoky/cryptomusapi/blob/main/README.md This command installs the CryptomusAPI directly from its GitHub repository using pip, which automatically handles cloning and installation. It's a convenient way to get the latest development version. ```bash $ pip install git+https://github.com/Fsoky/CryptomusAPI ``` -------------------------------- ### Installing CryptomusAPI via pip Source: https://github.com/fsoky/cryptomusapi/blob/main/README.md This command installs the CryptomusAPI Python package using the pip package manager, making it available for import in Python projects. It's the recommended way for standard installations. ```bash $ pip install CryptomusAPI ``` -------------------------------- ### Creating a Cryptomus Invoice (Asynchronous Python) Source: https://github.com/fsoky/cryptomusapi/blob/main/README.md This asynchronous Python example demonstrates how to initialize the CryptomusClient with a merchant ID and API key, create a new invoice for a specified amount and currency, and then print the generated invoice URL. It utilizes asyncio for non-blocking operations, suitable for modern Python applications. ```python 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 ) await api.session.close() print(invoice.url) if __name__ == "__main__": loop = asyncio.get_event_loop() loop.run_until_complete(main()) # I need fix this. ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.