https://github.com/alekseyl1992/yandex-checkout-sdk-python
https://github.com/alekseyl1992/yandex-checkout-sdk-python
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/alekseyl1992/yandex-checkout-sdk-python
- Owner: alekseyl1992
- License: mit
- Created: 2018-03-14T13:57:54.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2020-02-15T11:04:55.000Z (over 5 years ago)
- Last Synced: 2025-03-25T03:51:10.443Z (2 months ago)
- Language: Python
- Size: 135 KB
- Stars: 0
- Watchers: 1
- Forks: 25
- Open Issues: 0
-
Metadata Files:
- Readme: README.en.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Yandex.Checkout API Python Client Library
[](https://travis-ci.org/yandex-money/yandex-checkout-sdk-python)
[](https://pypi.org/project/yandex-checkout/)
[](https://pypi.org/project/yandex-checkout/)
[](https://github.com/yandex-money/yandex-checkout-sdk-python)[Russian](https://github.com/yandex-money/yandex-checkout-sdk-python/blob/master/README.md) | English
This product is used for managing payments under [The Yandex.Checkout API](https://kassa.yandex.ru/docs/checkout-api/)
For usage by those who implemented Yandex.Checkout using the API method.## Requirements
1. Python 2.7 or Python 3.x
2. pip## Installation
### Under console using pip1. Install pip.
2. In the console, run the following command:
```bash
pip install --upgrade yandex_checkout
```### Under console using easy_install
1. Install easy_install.
2. In the console, run the following command:
```bash
easy_install --upgrade yandex_checkout
```### Manually
1. In the console, run the following command:
```bash
wget https://pypi.python.org/packages/5a/be/5eafdfb14aa6f32107e9feb6514ca1ad3fe56f8e5ee59d20693b32f7e79f/yandex_checkout-1.0.0.tar.gz#md5=46595279b5578fd82a199bfd4cd51db2
tar zxf yandex_checkout-1.0.0.tar.gz
cd yandex_checkout-1.0.0
python setup.py install
```## Commencing work
1. Import module
```python
import yandex_checkout
```2. Configure a Client
```python
from yandex_checkout import ConfigurationConfiguration.configure('', '')
```or
```python
from yandex_checkout import ConfigurationConfiguration.account_id = ''
Configuration.secret_key = ''
```or via oauth
```python
from yandex_checkout import ConfigurationConfiguration.configure_auth_token('')
```If you agree to participate in the development of the SDK, you can submit data about your framework, cms or module:
```python
from yandex_checkout import Configuration
from yandex_checkout.domain.common.user_agent import VersionConfiguration.configure('', '')
Configuration.configure_user_agent(
framework=Version('Django', '2.2.3'),
cms=Version('Wagtail', '2.6.2'),
module=Version('Y.CMS', '0.0.1')
)
```
3. Call the required API method. [More details in our documentation for the Yandex.Checkout API](url)