pyCryptomusAPI 0.1.1__tar.gz → 1.0.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,17 +1,16 @@
1
- Metadata-Version: 2.2
1
+ Metadata-Version: 2.4
2
2
  Name: pyCryptomusAPI
3
- Version: 0.1.1
4
- Summary: Python implementation of Cryptomus (https://cryptomus.com) pubilc API
3
+ Version: 1.0.0
4
+ Summary: Python implementation of Cryptomus (https://cryptomus.com) and Heleket (https://heleket.com) pubilc API
5
5
  Home-page: https://github.com/Badiboy/pyCryptomusAPI
6
6
  Author: Badiboy
7
7
  License: MIT license
8
- Keywords: Crypto Pay API Cryptomus
9
- Classifier: Development Status :: 3 - Alpha
8
+ Keywords: Crypto Pay API Cryptomus Heleket
9
+ Classifier: Development Status :: 5 - Production/Stable
10
10
  Classifier: Programming Language :: Python :: 3
11
- Classifier: License :: OSI Approved :: MIT License
12
- Requires: requests
13
11
  Description-Content-Type: text/markdown
14
12
  License-File: LICENSE
13
+ Requires-Dist: requests
15
14
  Dynamic: author
16
15
  Dynamic: classifier
17
16
  Dynamic: description
@@ -19,7 +18,8 @@ Dynamic: description-content-type
19
18
  Dynamic: home-page
20
19
  Dynamic: keywords
21
20
  Dynamic: license
22
- Dynamic: requires
21
+ Dynamic: license-file
22
+ Dynamic: requires-dist
23
23
  Dynamic: summary
24
24
 
25
25
  [![PyPi Package Version](https://img.shields.io/pypi/v/pyCryptomusAPI.svg)](https://pypi.python.org/pypi/pyCryptomusAPI)
@@ -27,9 +27,9 @@ Dynamic: summary
27
27
  [![PyPi downloads](https://img.shields.io/pypi/dm/pyCryptomusAPI.svg)](https://pypi.org/project/pyCryptomusAPI/)
28
28
 
29
29
  # <p align="center">pyCryptomusAPI</p>
30
- Python implementation of [Cryptomus](https://cryptomus.com) public [API](https://doc.cryptomus.com)
30
+ Python implementation of [Cryptomus](https://cryptomus.com) and [Heleket](https://heleket.com) public [API](https://doc.cryptomus.com)
31
31
 
32
- **This library is developing for my personal needs, so it may not fully implement API. However I will continue to maintain it, so if you need some not implemented methods - just open an issue.**
32
+ If you found a bug or have a feature request, just create an issue!
33
33
 
34
34
  # Installation
35
35
  Installation using pip (a Python package manager):
@@ -38,8 +38,8 @@ $ pip install pyCryptomusAPI
38
38
  ```
39
39
 
40
40
  # Usage
41
- Everything is as simple as the [API](https://help.crypt.bot/crypto-pay-api#available-methods) itself.
42
- 1. Create pyCryptomusAPI instance
41
+ Everything is as simple as the [API](https://doc.cryptomus.com/) itself.
42
+ 1. Create **pyCryptomusAPI** or **pyHeleketAPI** instance
43
43
  2. Access API methods in pythonic notation (e.g. "Creating an invoice" -> create_invoice())
44
44
  3. Most methods return result as correspondent class, so you can access data as fields
45
45
  ```
@@ -52,7 +52,17 @@ balance = client.balance()
52
52
  for item in balance.merchant:
53
53
  print("Merchant balance: {} {}".format(item.balance, item.currency_code))
54
54
  ```
55
- You can also check tests.py.
55
+ Available methods include:
56
+
57
+ * Payments: create_invoice(), create_wallet(), payment_qr_code(), wallet_qr_code(),
58
+ block_wallet(), block_wallet_refund(), payment_information(), refund(),
59
+ resend_payment_webhook(), test_payment_webhook(), payment_history(),
60
+ payment_services(), mark_payment_as_paid()
61
+ * Payouts: create_payout(), payout_information(), payout_history(), payout_services(),
62
+ transfer_to_personal(), transfer_to_business(), test_payout_webhook()
63
+ * Recurring payments: create_recurrence(), recurrence_information(),
64
+ recurrence_history(), cancel_recurrence()
65
+ * Other: balance()
56
66
 
57
67
  # Exceptions
58
- Exceptions are rised using pyCryptomusAPIException class.
68
+ Exceptions are raised using pyCryptomusAPIException class.
@@ -1,34 +1,44 @@
1
- [![PyPi Package Version](https://img.shields.io/pypi/v/pyCryptomusAPI.svg)](https://pypi.python.org/pypi/pyCryptomusAPI)
2
- [![Supported Python versions](https://img.shields.io/pypi/pyversions/pyCryptomusAPI.svg)](https://pypi.python.org/pypi/pyCryptomusAPI)
3
- [![PyPi downloads](https://img.shields.io/pypi/dm/pyCryptomusAPI.svg)](https://pypi.org/project/pyCryptomusAPI/)
4
-
5
- # <p align="center">pyCryptomusAPI</p>
6
- Python implementation of [Cryptomus](https://cryptomus.com) public [API](https://doc.cryptomus.com)
7
-
8
- **This library is developing for my personal needs, so it may not fully implement API. However I will continue to maintain it, so if you need some not implemented methods - just open an issue.**
9
-
10
- # Installation
11
- Installation using pip (a Python package manager):
12
- ```
13
- $ pip install pyCryptomusAPI
14
- ```
15
-
16
- # Usage
17
- Everything is as simple as the [API](https://help.crypt.bot/crypto-pay-api#available-methods) itself.
18
- 1. Create pyCryptomusAPI instance
19
- 2. Access API methods in pythonic notation (e.g. "Creating an invoice" -> create_invoice())
20
- 3. Most methods return result as correspondent class, so you can access data as fields
21
- ```
22
- from pyCryptomusAPI import pyCryptomusAPI
23
- client = pyCryptomusAPI(
24
- "xxxx-xxxx-xxxx-xxxx-xxxx", # Merchand UUID
25
- payment_api_key="xxxxxxx", # Payment API key (for payment methods)
26
- payout_api_key="xxxxxxx") # Payout API key (for payout methods)
27
- balance = client.balance()
28
- for item in balance.merchant:
29
- print("Merchant balance: {} {}".format(item.balance, item.currency_code))
30
- ```
31
- You can also check tests.py.
32
-
33
- # Exceptions
34
- Exceptions are rised using pyCryptomusAPIException class.
1
+ [![PyPi Package Version](https://img.shields.io/pypi/v/pyCryptomusAPI.svg)](https://pypi.python.org/pypi/pyCryptomusAPI)
2
+ [![Supported Python versions](https://img.shields.io/pypi/pyversions/pyCryptomusAPI.svg)](https://pypi.python.org/pypi/pyCryptomusAPI)
3
+ [![PyPi downloads](https://img.shields.io/pypi/dm/pyCryptomusAPI.svg)](https://pypi.org/project/pyCryptomusAPI/)
4
+
5
+ # <p align="center">pyCryptomusAPI</p>
6
+ Python implementation of [Cryptomus](https://cryptomus.com) and [Heleket](https://heleket.com) public [API](https://doc.cryptomus.com)
7
+
8
+ If you found a bug or have a feature request, just create an issue!
9
+
10
+ # Installation
11
+ Installation using pip (a Python package manager):
12
+ ```
13
+ $ pip install pyCryptomusAPI
14
+ ```
15
+
16
+ # Usage
17
+ Everything is as simple as the [API](https://doc.cryptomus.com/) itself.
18
+ 1. Create **pyCryptomusAPI** or **pyHeleketAPI** instance
19
+ 2. Access API methods in pythonic notation (e.g. "Creating an invoice" -> create_invoice())
20
+ 3. Most methods return result as correspondent class, so you can access data as fields
21
+ ```
22
+ from pyCryptomusAPI import pyCryptomusAPI
23
+ client = pyCryptomusAPI(
24
+ "xxxx-xxxx-xxxx-xxxx-xxxx", # Merchand UUID
25
+ payment_api_key="xxxxxxx", # Payment API key (for payment methods)
26
+ payout_api_key="xxxxxxx") # Payout API key (for payout methods)
27
+ balance = client.balance()
28
+ for item in balance.merchant:
29
+ print("Merchant balance: {} {}".format(item.balance, item.currency_code))
30
+ ```
31
+ Available methods include:
32
+
33
+ * Payments: create_invoice(), create_wallet(), payment_qr_code(), wallet_qr_code(),
34
+ block_wallet(), block_wallet_refund(), payment_information(), refund(),
35
+ resend_payment_webhook(), test_payment_webhook(), payment_history(),
36
+ payment_services(), mark_payment_as_paid()
37
+ * Payouts: create_payout(), payout_information(), payout_history(), payout_services(),
38
+ transfer_to_personal(), transfer_to_business(), test_payout_webhook()
39
+ * Recurring payments: create_recurrence(), recurrence_information(),
40
+ recurrence_history(), cancel_recurrence()
41
+ * Other: balance()
42
+
43
+ # Exceptions
44
+ Exceptions are raised using pyCryptomusAPIException class.