gateio / gateapi-go

100 stars 32 forks source link

API not working #29

Open Raskolnikov87 opened 2 years ago

Raskolnikov87 commented 2 years ago

Hi,

I tried to use my API with different tools (Atani, Koinly) but it doesn't work. I took the API from www.gate.ac because www.gate.io is not accessible anymore in Italy. Can you help me please? Thank you

revilwang commented 2 years ago
  1. Contract their support asking which Gate API version do they use to integrate with gate.io. We have v2 and v4 available(the latter one is preferred).
  2. Once you know the specific API version, create the corresponding key in API Key page(v2) or APIv4 Key page(v4)
  3. If v4 key is used. You need to make sure corresponding permission is enabled.
Raskolnikov87 commented 2 years ago

They use v2 version and that's the one I created and tried to use...


Da: revilwang @.> Inviato: giovedì 27 gennaio 2022 08:54 A: gateio/gateapi-go @.> Cc: Raskolnikov87 @.>; Author @.> Oggetto: Re: [gateio/gateapi-go] API not working (Issue #29)

  1. Contract their support asking which Gate API version do they use to integrate with gate.io. We have v2 and v4 available(the latter one is preferred).
  2. Once you know the specific API version, create the corresponding key in API Key page(v2) or APIv4 Key page(v4)
  3. If v4 key is used. You need to make sure corresponding permission is enabled.

— Reply to this email directly, view it on GitHubhttps://github.com/gateio/gateapi-go/issues/29#issuecomment-1022938554, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AXPTSAF5YPCBBZTMEZI2U33UYD23BANCNFSM5M5D7KFQ. Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub. You are receiving this because you authored the thread.Message ID: @.***>

revilwang commented 2 years ago

Do you enable IP whitelist which causes their requests being blocked from the allowed IP list? I think such issue should be reported to your tool's support. We can hardly know how they integrate with our APIs in detail.

Raskolnikov87 commented 2 years ago

There was no IP restriction. Both tools (Koinly and Atani) say that there are no issue from their side....


Da: revilwang @.> Inviato: giovedì 27 gennaio 2022 09:22 A: gateio/gateapi-go @.> Cc: Raskolnikov87 @.>; Author @.> Oggetto: Re: [gateio/gateapi-go] API not working (Issue #29)

Do you enable IP whitelist which causes their requests being blocked from the allowed IP list? I think such issue should be reported to your tool's support. We can hardly know how they integrate with our APIs in detail.

— Reply to this email directly, view it on GitHubhttps://github.com/gateio/gateapi-go/issues/29#issuecomment-1022958965, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AXPTSAEGSO72MWQEMTJYHRLUYD6EHANCNFSM5M5D7KFQ. Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub. You are receiving this because you authored the thread.Message ID: @.***>

revilwang commented 2 years ago

I'm not saying they have issues, but they need to tell you why your API key does not work. At least they can tell you what problem occurred when they use you key, which can also help us know what the real problem is.