Skip to content

Commit

Permalink
Please enter the commit message for your changes. Lines starting
Browse files Browse the repository at this point in the history
modified:   README.md
modified:   indodax/__init__.py
modified:   setup.py
  • Loading branch information
Mame29 committed Jun 21, 2024
1 parent b2f1c90 commit aae0363
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Indodax
[PyPI version 1.3](https://pypi.org/project/indodax/1.3/)
[PyPI version 1.3.2](https://pypi.org/project/indodax/1.3.2/)
Modul ini untuk trading di indodax

# Install
Expand Down
8 changes: 4 additions & 4 deletions indodax/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
from hmac import HMAC
from indodax.Price import price

__version__ = '1.3.1'
__version__ = '1.3.2'

class indodax:
'''Ini dirancang agar mempermudah jual beli mata uang digital di indodax ambil key dan secret di akun anda
Expand All @@ -22,7 +22,7 @@ def __init__(self, key, secret):
self.secret = secret


def query(self, method, **kwargs: dict):
def query(self, method, **kwargs: dict) -> dict:
url = 'https://indodax.com/tapi/'

kwargs['method'] = method
Expand All @@ -36,8 +36,8 @@ def query(self, method, **kwargs: dict):

s = c.Session()
r = s.post(url, headers=headers, data=kwargs)
js = json.dumps(json.loads(r.text), sort_keys=False, indent=4)
return js
# js = json.dumps(json.loads(r.text), sort_keys=False, indent=4)
return r.json()

@staticmethod
def get_price(coin):
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

setuptools.setup(
name="indodax",
version="1.3.1",
version="1.3.2",
author="Mame29",
author_email="evanr0240@gmail.com",
description="paket ini untuk jual beli di indodax",
Expand Down

0 comments on commit aae0363

Please sign in to comment.