markruys / gw2pvo

GoodWe to PVOutput
MIT License
45 stars 29 forks source link

Is this the swagger api documentation? #39

Closed lakeman closed 4 years ago

lakeman commented 4 years ago

"GoodWe access is based on the undocumented API used by mobile apps."

Is it undocumented though?

After a cursory inspection, this looks promising; http://globalapi.sems.com.cn:82/swagger/ui/index

lakeman commented 4 years ago

All the responses that come back are wrapped in;

{
  "language": "en",
  "function": null,
  "hasError": false,
  "msg": "success",
  "code": "0",
  "data": { },
  "components": { }
}

Otherwise this is probably right.

markruys commented 4 years ago

Thanks for the reference, I've updated the README.md