معرفی شرکت ها


buycoins-python-0.5.2


Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر

توضیحات

Python SDK for the BuyCoin"s API
ویژگی مقدار
سیستم عامل -
نام فایل buycoins-python-0.5.2
نام buycoins-python
نسخه کتابخانه 0.5.2
نگهدارنده []
ایمیل نگهدارنده []
نویسنده Abdulazeez Abdulazeez Adeshina
ایمیل نویسنده youngestdev@gmail.com
آدرس صفحه اصلی https://github.com/Youngestdev/buycoins-python
آدرس اینترنتی https://pypi.org/project/buycoins-python/
مجوز MIT
# BuyCoins Python Library ![Build Status](https://travis-ci.com/Youngestdev/BuyCoins-Python.svg?token=pbxtdupXniDaRVenvvya&branch=main) The BuyCoins Python library allows interactions with the BuyCoins API from applications written in Python. ## Documentation You can view the documentation for the BuyCoins Python library [here](https://youngestdev.gitbook.io/buycoins-python-library). > The official BuyCoins API documentation can be found on the [BuyCoins developer portal.](https://https://developers.buycoins.africa/) ## Installation This package can be installed from [PyPi](https://pypi.org) using the command: ```shell pip install buycoins-python ``` Install from source: ```shell python setup.py install ``` ## Requirements - Python 3.6+ ## Usage The library depends on an authentication key to communicate, send requests and receive responses from the BuyCoins API. Create a `.env` file and set your authentication key in the format below: ```dotenv auth_key="public key:private key" ``` If you don't have a public and private key, follow the procedures on [How to get access?](https://developers.buycoins.africa/#how-do-i-get-access). Example usage of the library is: ```python from buycoins import Wallet buycoins_user = Wallet() # Print the account balances of each cryptocurrency the buycoins_user have. print(buycoins_user.get_balances()) ``` ## Handling Exceptions The library comes built-in with exception handlers for unsuccessful requests. This is documented in the [exceptions](https://youngestdev.gitbook.io/buycoins-python-library/exceptions) page. ## Executing your own queries In a situtation where you need to run a query different from what is provided in the library, create an instance of the `BuyCoinsClient` class and run your query: ```python from buycoins import BuyCoinsClient # Write your query query = """ query queryName{ query body } """ # Write your variables if any variables = { "x": x, "y": y } # Execute your request response = BuyCoinsClient()._execute_request(query=query, variables=variables) # Print the response from the request sent print(response) ``` ## Contributing Check [CONTRIBUTING.MD](./CONTRIBUTING.MD) ## Authors - [Abdulazeez Abdulazeez Adeshina](https://twitter.com/kvng_zeez) - [Precious Ndubueze](https://twitter.com/pgabbyprecious) ## License See [LICENCE.MD](./LICENSE).


نیازمندی

مقدار نام
- python-decouple
- python-graphql-client
- requests


زبان مورد نیاز

مقدار نام
>=3.6 Python


نحوه نصب


نصب پکیج whl buycoins-python-0.5.2:

    pip install buycoins-python-0.5.2.whl


نصب پکیج tar.gz buycoins-python-0.5.2:

    pip install buycoins-python-0.5.2.tar.gz