Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Documentation for this SDK #93

Open
samydevv opened this issue Sep 15, 2022 · 1 comment
Open

Documentation for this SDK #93

samydevv opened this issue Sep 15, 2022 · 1 comment

Comments

@samydevv
Copy link

samydevv commented Sep 15, 2022

Hi ChannelApe,
Is there any documentation for this SDK?. and one more thing this SDK is only for the API call or it covers the Outh flow to get the offline/online access token.?

@ryankazokas
Copy link
Member

Unfortunately the only docs currently out there is the readme in the repo. We are always open to pull requests to add some better docuemntation. We have added public methods in the ShopifySdk.java file so you should be able to go through the public methods there to see what is possible.

As far as oauth goes, you can have the sdk generate an access token to use if you provide the authorization code and clientId and client secret to the builder method.

ShopifySdk.newBuilder().withSubdomain("myshopifystore").withClientId("123").withClientSecret("456").withAuthorizationToken("789").build();

https://github.com/ChannelApe/shopify-sdk/blob/master/src/main/java/com/shopify/ShopifySdk.java#L1030

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants