ms32035 / trading212-rest

Rest API client for Trading212
Apache License 2.0
3 stars 3 forks source link

arguments #2

Closed ghost closed 5 months ago

ghost commented 6 months ago

Hi. the code usage says client = Trading212(token="your_api_token", demo=False)

but the class init says def init(self, api_key: str, demo: bool = True):

token should be api_key

ms32035 commented 5 months ago

Fixed in 0.5.0