AvdLee / appstoreconnect-swift-sdk

The Swift SDK to work with the App Store Connect API from Apple.
Other
1.48k stars 198 forks source link

How to use APIEndPoint.V1? #193

Closed voxqhuy closed 2 years ago

voxqhuy commented 2 years ago

I'm trying understand your example listed in the 2.0 release: let endpoint = APIEndpoint.apps(...) which I believe to be APIEndpoint.V1.apps because all endpoints are now extensions of APIEndpoint.V1. However, apps isn't a static variable and should only be referenced through an instance of APIEndpoint.V1, this usage is illegitimate.

Should we expose the initializer of APIEndpoint.V1 or what's the proper way to refer an endpoint?

github-actions[bot] commented 2 years ago

This issue is stale because it has been open for 30 days with no activity. Remove the Stale label or comment or this will be closed in 10 days.