Closed lreiner closed 6 years ago
I only found this in iqoptionapi/objects/profile.py
"""Module for IQ Option Profile websocket object."""
from iqoptionapi.ws.objects.base import Base
class Profile(Base):
"""Class for IQ Option Profile websocket object."""
def __init__(self):
super(Profile, self).__init__()
self.__name = "profile"
self.__skey = None
self.__balance = None
@property
def skey(self):
"""Property to get skey value.
:returns: The skey value.
"""
return self.__skey
@skey.setter
def skey(self, skey):
"""Method to set skey value."""
self.__skey = skey
@property
def balance(self):
"""Property to get balance value.
:returns: The balance value.
"""
return self.__balance
@balance.setter
def balance(self, balance):
"""Method to set balance value."""
self.__balance = balance
As you can see there is only balance which gets returned? But how to add a function which returns full JSON Object?
Try my fork version
Is there any function in the api to return the whole object you obtain from this api call?