# Shopify SDK
Java SDK for Shopify REST APIs
| Service | Develop | Master |
|-----------|---------|--------|
| CI Status | [![Build Status](https://travis-ci.org/ChannelApe/shopify-sdk.svg?branch=develop)](https://travis-ci.org/ChannelApe/shopify-sdk) | [![Build Status](https://travis-ci.org/ChannelApe/shopify-sdk.svg?branch=master)](https://travis-ci.org/ChannelApe/shopify-sdk) |
[![Quality Gate](https://sonarcloud.io/api/project_badges/measure?project=com.channelape%3Ashopify-sdk&metric=alert_status)](https://sonarcloud.io/dashboard?id=com.channelape%3Ashopify-sdk) [![Coverage](https://sonarcloud.io/api/project_badges/measure?project=com.channelape%3Ashopify-sdk&metric=coverage)](https://sonarcloud.io/component_measures?id=com.channelape%3Ashopify-sdk&metric=coverage)
[![Maven Central](https://img.shields.io/maven-central/v/com.channelape/shopify-sdk.svg?label=Maven%20Central)](https://search.maven.org/search?q=g:%22com.channelape%22%20AND%20a:%22shopify-sdk%22)
## Quickstart
Creating SDK with store subdomain and access token, then making a sample call:
```java
final ShopifySdk shopifySdk = ShopifySdk.newBuilder()
.withSubdomain(subdomain)
.withAccessToken(accessToken).build();
final ShopifyShop shopifyShop = shopifySdk.getShop();
```
For private apps, `accessToken` should be the private app's Admin API password.
## Optional Configuration
The final parameters of the SDK builder are optional and will use default values when not supplied:
| Parameter | Description | Default |
|-----------|---------|--------|
|Minimum Request Retry Random Delay|Shopify SDK uses a random wait strategy when calculating to perform the next attempt. This is the minimum duration to wait before performing the failed request.|1 second|
|Maximum Request Retry Random Delay|Shopify SDK uses a random wait strategy when calculating to perform the next attempt. This is the maximum duration to wait before performing the failed request.|5 seconds|
|Maximum Request Retry Timeout|The maximum time to keep retrying failed requests.|3 minutes|
|Connection Timeout|The duration to attempt to connect to Shopify's API.|1 minute|
|Read Timeout|The duration to attempt to read a response from Shopify's API.|15 Seconds|
## Building from source
1. Install Maven
2. Install JDK 8
3. Clone the repository.
3. Navigate to repository directory and run `mvn install`
## Release Notes
Please see our release notes here: [https://github.com/ChannelApe/shopify-sdk/releases](https://github.com/ChannelApe/shopify-sdk/releases)
没有合适的资源?快使用搜索试试~ 我知道了~
温馨提示
Shopify SDK 适用于Shopify REST API的Java SDK 服务 开发 主 CI状态 快速开始 使用商店子域和访问令牌创建SDK,然后进行示例调用: final ShopifySdk shopifySdk = ShopifySdk . newBuilder() .withSubdomain(subdomain) .withAccessToken(accessToken) . build(); final ShopifyShop shopifyShop = shopifySdk . getShop(); 对于私有应用程序, accessToken应该是私有应
资源详情
资源评论
资源推荐
收起资源包目录
shopify-sdk:用于Shopify REST API的Java SDK (140个子文件)
.gitignore 117B
ShopifySdkTest.java 196KB
ShopifySdk.java 51KB
ShopifySdkDriver.java 36KB
ShopifyProductUpdateRequestTest.java 16KB
ShopifyProductCreationRequestTest.java 14KB
ShopifyProductUpdateRequest.java 12KB
ShopifyVariantUpdateRequest.java 11KB
ShopifyOrder.java 10KB
ShopifyVariantUpdateRequestTest.java 10KB
ShopifyErrorResponseExceptionTest.java 8KB
ShopifyVariantCreationRequest.java 7KB
ShopifyProductCreationRequest.java 7KB
ShopifyOrderTest.java 6KB
ShopifyVariantCreationRequestTest.java 5KB
ShopifyOrderShippingAddressUpdateRequest.java 5KB
ShopifyVariant.java 5KB
ShopifyVariantRequestOption1ComparatorTest.java 5KB
ShopifyLineItem.java 4KB
ShopifyFulfillment.java 4KB
ShopifyProduct.java 4KB
ShopifyGiftCard.java 4KB
ShopifyOrderCreationRequest.java 4KB
ShopifyRecurringApplicationCharge.java 4KB
ShopifyPageTest.java 3KB
ShopifyCustomerUpdateRequest.java 3KB
ShopifyRecurringApplicationChargeCreationRequestTest.java 3KB
ShopifyAddressUpdateRequestTest.java 3KB
ShopifyGetCustomersRequest.java 3KB
ShopifyAddressUpdateRequest.java 3KB
ShopifyAddress.java 3KB
ShopifyFulfillmentUpdateRequest.java 3KB
ShopifyRecurringApplicationChargeCreationRequest.java 3KB
ShopifyRefund.java 3KB
ShopifyCustomer.java 3KB
ShopifyFulfillmentCreationRequest.java 3KB
ShopifyCustomCollection.java 3KB
ShopifyAddressTest.java 3KB
OrderRiskRecommendationAdapterTest.java 3KB
ShopifyLineItemTest.java 2KB
ShopifyFulfillmentUpdateRequestTest.java 2KB
ShopifyLocation.java 2KB
Metafield.java 2KB
ShopifyOrderRisk.java 2KB
ShopifyCustomCollectionCreationRequest.java 2KB
ShopifyTransaction.java 2KB
ShopifyVariantMetafieldCreationRequest.java 2KB
ShopifyProductMetafieldCreationRequest.java 2KB
ShopifyFulfillmentCreationRequestTest.java 2KB
ShopifyErrorCodeFactory.java 2KB
ShopifyRefundLineItem.java 2KB
Image.java 2KB
ShopifyGiftCardCreationRequest.java 2KB
ShopifyCustomCollectionCreationRequestTest.java 1KB
TagsAdapterTest.java 1KB
DateTimeAdapterTest.java 1KB
Option.java 1KB
CurrencyAdapterTest.java 1KB
ShopifyVariantMetafieldCreationRequestTest.java 1KB
ShopifyProductMetafieldCreationRequestTest.java 1KB
EscapedStringsAdapterTest.java 1KB
ResponseEntityToStringMapperTest.java 1KB
ShopifyProducts.java 1KB
ShopifyErrorResponseException.java 1KB
ShopifyGetCustomersRequestTest.java 1KB
ResponseEntityToStringMapper.java 1KB
ShopifySdkObjectMapper.java 1KB
TagsAdapter.java 1KB
ShopifyRefundShippingDetails.java 1KB
ImageAltTextCreationRequest.java 1KB
ShopifyPage.java 1007B
MetafieldValueTypeAdapterTest.java 992B
ShopifyShippingLine.java 965B
InventoryPolicyAdapterTest.java 947B
ShopifyInventoryLevel.java 944B
ImageAltTextCreationRequestTest.java 902B
ShopifyProductTest.java 887B
EscapedStringAdapterTest.java 887B
OrderRiskRecommendation.java 829B
ShopifyCustomerUpdateRequestTest.java 817B
ShopifyInventoryLevelRootTest.java 740B
EscapedStringsAdapter.java 699B
ShopifyErrors.java 693B
MetafieldValueType.java 686B
ShopifyInventoryLevelTest.java 674B
InventoryPolicy.java 661B
ShopifyVariantRequestOption1Comparator.java 655B
ShopifyCustomCollectionsRoot.java 612B
ShopifyRecurringApplicationChargeRoot.java 611B
ShopifyInventoryLevelRoot.java 608B
CurrencyAdapter.java 598B
OrderRiskRecommendationAdapter.java 581B
ShopifyTaxLine.java 580B
DateTimeAdapter.java 579B
ShopifyErrorCode.java 567B
ShopifyTransactionReceipt.java 540B
MetafieldValueTypeAdapter.java 531B
ShopifyCustomerUpdateRoot.java 524B
InventoryPolicyAdapter.java 509B
ShopifyVariantRequestPositionComparator.java 493B
共 140 条
- 1
- 2
悦微评剧
- 粉丝: 19
- 资源: 4668
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- 使用C++实现的常见算法
- travel-web-springboot【程序员VIP专用】.zip
- 基于Matlab, ConvergeCase中部分2D结果文件输出至EXCEL中 能力有限,代码和功能极其简陋.zip
- java桌面小程序,主要为游戏.zip学习资源
- Java桌面-坦克大战小游戏.zip程序资源
- java语言做的魔板小游戏.zip
- 初学JAVA制作的坦克大战小游戏,使用JAVA 的GUI模拟2,5D界面.zip
- 公开整理-2024年832个国家级贫困县摘帽情况分省分年统计.xlsx
- 纯js+Jquery实现2048游戏
- 叠罗汉游戏,安卓java实现,自定义Framlayout,属性动画.zip
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
评论0