X2Y2-io / x2y2-sdk

X2Y2 Node.js SDK.
MIT License
26 stars 26 forks source link

Error: API Client not yet initialized #1

Open Slers opened 2 years ago

Slers commented 2 years ago

When trying to use the SDK to make offers, I have the following error:

"Error: API Client not yet initialized".

Could you please let me know the reason?

shermiexyz commented 2 years ago

Please refer readme: https://github.com/X2Y2-io/x2y2-sdk#initiating-sdk. Call method init(YOUR_API_KEY) first.