aliseeks_api 1.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/Gemfile +8 -0
- data/Gemfile.lock +79 -0
- data/README.md +171 -0
- data/Rakefile +10 -0
- data/aliseeks_api.gemspec +45 -0
- data/docs/Amount.md +9 -0
- data/docs/BestSellingSearchItem.md +15 -0
- data/docs/BestSellingSearchRequest.md +12 -0
- data/docs/BestSellingSearchResponse.md +8 -0
- data/docs/DoubleRange.md +9 -0
- data/docs/ImageSearchCategory.md +9 -0
- data/docs/ImageSearchItem.md +12 -0
- data/docs/ImageSearchRequest.md +12 -0
- data/docs/ImageSearchResponse.md +10 -0
- data/docs/IntegerRange.md +9 -0
- data/docs/NonRealtimeCurrency.md +7 -0
- data/docs/PriceRange.md +9 -0
- data/docs/PriceSummary.md +13 -0
- data/docs/Product.md +28 -0
- data/docs/ProductAttribute.md +11 -0
- data/docs/ProductBulkOption.md +10 -0
- data/docs/ProductDetail.md +24 -0
- data/docs/ProductDetailsRequest.md +12 -0
- data/docs/ProductHtmlDescription.md +8 -0
- data/docs/ProductHtmlDescriptionRequest.md +8 -0
- data/docs/ProductPriceOption.md +14 -0
- data/docs/ProductPromotion.md +9 -0
- data/docs/ProductPropertyVariationIdentifier.md +10 -0
- data/docs/ProductRequest.md +15 -0
- data/docs/ProductRequestComponent.md +7 -0
- data/docs/ProductReview.md +18 -0
- data/docs/ProductReviews.md +17 -0
- data/docs/ProductReviewsRequest.md +10 -0
- data/docs/ProductSeller.md +12 -0
- data/docs/ProductShipping.md +8 -0
- data/docs/ProductShippingOptions.md +15 -0
- data/docs/ProductShippingRequest.md +12 -0
- data/docs/ProductSku.md +16 -0
- data/docs/ProductSkus.md +8 -0
- data/docs/ProductSkusRequest.md +11 -0
- data/docs/ProductsApi.md +316 -0
- data/docs/PromotionOption.md +12 -0
- data/docs/RealtimeCurrency.md +7 -0
- data/docs/RealtimeSearchAggregation.md +9 -0
- data/docs/RealtimeSearchItem.md +14 -0
- data/docs/RealtimeSearchRequest.md +14 -0
- data/docs/RealtimeSearchResponse.md +9 -0
- data/docs/SearchAggregation.md +11 -0
- data/docs/SearchApi.md +263 -0
- data/docs/SearchItem.md +20 -0
- data/docs/SearchItemFreight.md +9 -0
- data/docs/SearchItemFreightType.md +8 -0
- data/docs/SearchItemSeller.md +13 -0
- data/docs/SearchPriceOption.md +10 -0
- data/docs/SearchRequest.md +24 -0
- data/docs/SearchResponse.md +9 -0
- data/docs/SkuPriceOption.md +16 -0
- data/docs/SkuPriceOptionProperty.md +13 -0
- data/docs/SkuProperty.md +10 -0
- data/docs/SkuPropertyValue.md +10 -0
- data/docs/StringRange.md +9 -0
- data/docs/TimeDuration.md +11 -0
- data/docs/TradeInformation.md +9 -0
- data/docs/UploadImageByUrlRequest.md +8 -0
- data/docs/UploadImageResponse.md +8 -0
- data/docs/WebError.md +11 -0
- data/git_push.sh +55 -0
- data/lib/aliseeks_api.rb +100 -0
- data/lib/aliseeks_api/api/products_api.rb +337 -0
- data/lib/aliseeks_api/api/search_api.rb +288 -0
- data/lib/aliseeks_api/api_client.rb +389 -0
- data/lib/aliseeks_api/api_error.rb +38 -0
- data/lib/aliseeks_api/configuration.rb +251 -0
- data/lib/aliseeks_api/models/amount.rb +195 -0
- data/lib/aliseeks_api/models/best_selling_search_item.rb +257 -0
- data/lib/aliseeks_api/models/best_selling_search_request.rb +278 -0
- data/lib/aliseeks_api/models/best_selling_search_response.rb +187 -0
- data/lib/aliseeks_api/models/double_range.rb +193 -0
- data/lib/aliseeks_api/models/image_search_category.rb +195 -0
- data/lib/aliseeks_api/models/image_search_item.rb +224 -0
- data/lib/aliseeks_api/models/image_search_request.rb +240 -0
- data/lib/aliseeks_api/models/image_search_response.rb +209 -0
- data/lib/aliseeks_api/models/integer_range.rb +193 -0
- data/lib/aliseeks_api/models/non_realtime_currency.rb +48 -0
- data/lib/aliseeks_api/models/price_range.rb +193 -0
- data/lib/aliseeks_api/models/price_summary.rb +229 -0
- data/lib/aliseeks_api/models/product.rb +422 -0
- data/lib/aliseeks_api/models/product_attribute.rb +215 -0
- data/lib/aliseeks_api/models/product_bulk_option.rb +204 -0
- data/lib/aliseeks_api/models/product_detail.rb +353 -0
- data/lib/aliseeks_api/models/product_details_request.rb +230 -0
- data/lib/aliseeks_api/models/product_html_description.rb +185 -0
- data/lib/aliseeks_api/models/product_html_description_request.rb +185 -0
- data/lib/aliseeks_api/models/product_price_option.rb +240 -0
- data/lib/aliseeks_api/models/product_promotion.rb +194 -0
- data/lib/aliseeks_api/models/product_property_variation_identifier.rb +205 -0
- data/lib/aliseeks_api/models/product_request.rb +288 -0
- data/lib/aliseeks_api/models/product_request_component.rb +31 -0
- data/lib/aliseeks_api/models/product_review.rb +287 -0
- data/lib/aliseeks_api/models/product_reviews.rb +270 -0
- data/lib/aliseeks_api/models/product_reviews_request.rb +235 -0
- data/lib/aliseeks_api/models/product_seller.rb +225 -0
- data/lib/aliseeks_api/models/product_shipping.rb +187 -0
- data/lib/aliseeks_api/models/product_shipping_options.rb +253 -0
- data/lib/aliseeks_api/models/product_shipping_request.rb +256 -0
- data/lib/aliseeks_api/models/product_sku.rb +266 -0
- data/lib/aliseeks_api/models/product_skus.rb +187 -0
- data/lib/aliseeks_api/models/product_skus_request.rb +218 -0
- data/lib/aliseeks_api/models/promotion_option.rb +222 -0
- data/lib/aliseeks_api/models/realtime_currency.rb +45 -0
- data/lib/aliseeks_api/models/realtime_search_aggregation.rb +197 -0
- data/lib/aliseeks_api/models/realtime_search_item.rb +246 -0
- data/lib/aliseeks_api/models/realtime_search_request.rb +304 -0
- data/lib/aliseeks_api/models/realtime_search_response.rb +196 -0
- data/lib/aliseeks_api/models/search_aggregation.rb +215 -0
- data/lib/aliseeks_api/models/search_item.rb +304 -0
- data/lib/aliseeks_api/models/search_item_freight.rb +194 -0
- data/lib/aliseeks_api/models/search_item_freight_type.rb +185 -0
- data/lib/aliseeks_api/models/search_item_seller.rb +235 -0
- data/lib/aliseeks_api/models/search_price_option.rb +203 -0
- data/lib/aliseeks_api/models/search_request.rb +441 -0
- data/lib/aliseeks_api/models/search_response.rb +196 -0
- data/lib/aliseeks_api/models/sku_price_option.rb +264 -0
- data/lib/aliseeks_api/models/sku_price_option_property.rb +235 -0
- data/lib/aliseeks_api/models/sku_property.rb +207 -0
- data/lib/aliseeks_api/models/sku_property_value.rb +205 -0
- data/lib/aliseeks_api/models/string_range.rb +193 -0
- data/lib/aliseeks_api/models/time_duration.rb +211 -0
- data/lib/aliseeks_api/models/trade_information.rb +195 -0
- data/lib/aliseeks_api/models/upload_image_by_url_request.rb +185 -0
- data/lib/aliseeks_api/models/upload_image_response.rb +185 -0
- data/lib/aliseeks_api/models/web_error.rb +211 -0
- data/lib/aliseeks_api/version.rb +15 -0
- data/spec/api/products_api_spec.rb +101 -0
- data/spec/api/search_api_spec.rb +90 -0
- data/spec/api_client_spec.rb +226 -0
- data/spec/configuration_spec.rb +42 -0
- data/spec/models/amount_spec.rb +47 -0
- data/spec/models/best_selling_search_item_spec.rb +83 -0
- data/spec/models/best_selling_search_request_spec.rb +73 -0
- data/spec/models/best_selling_search_response_spec.rb +41 -0
- data/spec/models/double_range_spec.rb +47 -0
- data/spec/models/image_search_category_spec.rb +47 -0
- data/spec/models/image_search_item_spec.rb +65 -0
- data/spec/models/image_search_request_spec.rb +65 -0
- data/spec/models/image_search_response_spec.rb +53 -0
- data/spec/models/integer_range_spec.rb +47 -0
- data/spec/models/non_realtime_currency_spec.rb +35 -0
- data/spec/models/price_range_spec.rb +47 -0
- data/spec/models/price_summary_spec.rb +71 -0
- data/spec/models/product_attribute_spec.rb +59 -0
- data/spec/models/product_bulk_option_spec.rb +53 -0
- data/spec/models/product_detail_spec.rb +137 -0
- data/spec/models/product_details_request_spec.rb +65 -0
- data/spec/models/product_html_description_request_spec.rb +41 -0
- data/spec/models/product_html_description_spec.rb +41 -0
- data/spec/models/product_price_option_spec.rb +77 -0
- data/spec/models/product_promotion_spec.rb +47 -0
- data/spec/models/product_property_variation_identifier_spec.rb +53 -0
- data/spec/models/product_request_component_spec.rb +35 -0
- data/spec/models/product_request_spec.rb +83 -0
- data/spec/models/product_review_spec.rb +101 -0
- data/spec/models/product_reviews_request_spec.rb +53 -0
- data/spec/models/product_reviews_spec.rb +95 -0
- data/spec/models/product_seller_spec.rb +65 -0
- data/spec/models/product_shipping_options_spec.rb +83 -0
- data/spec/models/product_shipping_request_spec.rb +65 -0
- data/spec/models/product_shipping_spec.rb +41 -0
- data/spec/models/product_sku_spec.rb +89 -0
- data/spec/models/product_skus_request_spec.rb +59 -0
- data/spec/models/product_skus_spec.rb +41 -0
- data/spec/models/product_spec.rb +165 -0
- data/spec/models/promotion_option_spec.rb +65 -0
- data/spec/models/realtime_currency_spec.rb +35 -0
- data/spec/models/realtime_search_aggregation_spec.rb +47 -0
- data/spec/models/realtime_search_item_spec.rb +77 -0
- data/spec/models/realtime_search_request_spec.rb +81 -0
- data/spec/models/realtime_search_response_spec.rb +47 -0
- data/spec/models/search_aggregation_spec.rb +59 -0
- data/spec/models/search_item_freight_spec.rb +47 -0
- data/spec/models/search_item_freight_type_spec.rb +41 -0
- data/spec/models/search_item_seller_spec.rb +71 -0
- data/spec/models/search_item_spec.rb +113 -0
- data/spec/models/search_price_option_spec.rb +53 -0
- data/spec/models/search_request_spec.rb +145 -0
- data/spec/models/search_response_spec.rb +47 -0
- data/spec/models/sku_price_option_property_spec.rb +71 -0
- data/spec/models/sku_price_option_spec.rb +89 -0
- data/spec/models/sku_property_spec.rb +53 -0
- data/spec/models/sku_property_value_spec.rb +53 -0
- data/spec/models/string_range_spec.rb +47 -0
- data/spec/models/time_duration_spec.rb +59 -0
- data/spec/models/trade_information_spec.rb +47 -0
- data/spec/models/upload_image_by_url_request_spec.rb +41 -0
- data/spec/models/upload_image_response_spec.rb +41 -0
- data/spec/models/web_error_spec.rb +59 -0
- data/spec/spec_helper.rb +111 -0
- metadata +485 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: eb5642fd7303fa57d7f3bc51105813f9a4dac231c778039ad47f9d6b1a070809
|
4
|
+
data.tar.gz: 88fd8646e0ef70f11b029f1c2e2ecfd9606e410e0043b01e3a375223fe47587e
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: f3aecbfcdf12476a5cb27ea7ccb08b551759780259dd9410c067e55dc7b94bea2b4247e1a3ff1ba31d58d44af2cf1ddbbe2e9f8b34cbda14c977f13b51673f56
|
7
|
+
data.tar.gz: 9c4f1464840fdb9c16085b23aee0fb9df378e1b5302d4a0ec22a0886eca9e2858cb4b698f779828564ccf059d8f948bcbdd93abd0d38569874e1d6cdb09a998b
|
data/Gemfile
ADDED
data/Gemfile.lock
ADDED
@@ -0,0 +1,79 @@
|
|
1
|
+
PATH
|
2
|
+
remote: .
|
3
|
+
specs:
|
4
|
+
aliseeks_api (1.0.4)
|
5
|
+
json (~> 2.1, >= 2.1.0)
|
6
|
+
typhoeus (~> 1.0, >= 1.0.1)
|
7
|
+
|
8
|
+
GEM
|
9
|
+
remote: https://rubygems.org/
|
10
|
+
specs:
|
11
|
+
ZenTest (4.11.1)
|
12
|
+
addressable (2.5.2)
|
13
|
+
public_suffix (>= 2.0.2, < 4.0)
|
14
|
+
autotest (4.4.6)
|
15
|
+
ZenTest (>= 4.4.1)
|
16
|
+
autotest-fsevent (0.2.14)
|
17
|
+
sys-uname
|
18
|
+
autotest-growl (0.2.16)
|
19
|
+
autotest-rails-pure (4.1.2)
|
20
|
+
byebug (10.0.2)
|
21
|
+
coderay (1.1.2)
|
22
|
+
crack (0.4.3)
|
23
|
+
safe_yaml (~> 1.0.0)
|
24
|
+
diff-lcs (1.3)
|
25
|
+
ethon (0.11.0)
|
26
|
+
ffi (>= 1.3.0)
|
27
|
+
ffi (1.9.25)
|
28
|
+
hashdiff (0.3.7)
|
29
|
+
json (2.1.0)
|
30
|
+
method_source (0.9.0)
|
31
|
+
pry (0.11.3)
|
32
|
+
coderay (~> 1.1.0)
|
33
|
+
method_source (~> 0.9.0)
|
34
|
+
pry-byebug (3.6.0)
|
35
|
+
byebug (~> 10.0)
|
36
|
+
pry (~> 0.10)
|
37
|
+
public_suffix (3.0.3)
|
38
|
+
rake (12.0.0)
|
39
|
+
rspec (3.8.0)
|
40
|
+
rspec-core (~> 3.8.0)
|
41
|
+
rspec-expectations (~> 3.8.0)
|
42
|
+
rspec-mocks (~> 3.8.0)
|
43
|
+
rspec-core (3.8.0)
|
44
|
+
rspec-support (~> 3.8.0)
|
45
|
+
rspec-expectations (3.8.1)
|
46
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
47
|
+
rspec-support (~> 3.8.0)
|
48
|
+
rspec-mocks (3.8.0)
|
49
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
50
|
+
rspec-support (~> 3.8.0)
|
51
|
+
rspec-support (3.8.0)
|
52
|
+
safe_yaml (1.0.4)
|
53
|
+
sys-uname (1.0.3)
|
54
|
+
ffi (>= 1.0.0)
|
55
|
+
typhoeus (1.3.0)
|
56
|
+
ethon (>= 0.9.0)
|
57
|
+
vcr (3.0.3)
|
58
|
+
webmock (1.24.6)
|
59
|
+
addressable (>= 2.3.6)
|
60
|
+
crack (>= 0.3.2)
|
61
|
+
hashdiff
|
62
|
+
|
63
|
+
PLATFORMS
|
64
|
+
ruby
|
65
|
+
|
66
|
+
DEPENDENCIES
|
67
|
+
autotest (~> 4.4, >= 4.4.6)
|
68
|
+
autotest-fsevent (~> 0.2, >= 0.2.12)
|
69
|
+
autotest-growl (~> 0.2, >= 0.2.16)
|
70
|
+
autotest-rails-pure (~> 4.1, >= 4.1.2)
|
71
|
+
aliseeks_api!
|
72
|
+
pry-byebug
|
73
|
+
rake (~> 12.0.0)
|
74
|
+
rspec (~> 3.6, >= 3.6.0)
|
75
|
+
vcr (~> 3.0, >= 3.0.1)
|
76
|
+
webmock (~> 1.24, >= 1.24.3)
|
77
|
+
|
78
|
+
BUNDLED WITH
|
79
|
+
1.16.1
|
data/README.md
ADDED
@@ -0,0 +1,171 @@
|
|
1
|
+
# aliseeks_api
|
2
|
+
|
3
|
+
AliseeksApi - the Ruby gem for the Aliseeks API
|
4
|
+
|
5
|
+
AliExpress product searching and product details retrieval API.
|
6
|
+
|
7
|
+
|
8
|
+
This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
9
|
+
|
10
|
+
- API version: 1.0.0
|
11
|
+
- Package version: 1.0.4
|
12
|
+
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
|
13
|
+
|
14
|
+
## Installation
|
15
|
+
|
16
|
+
### Build a gem
|
17
|
+
|
18
|
+
To build the Ruby code into a gem:
|
19
|
+
|
20
|
+
```shell
|
21
|
+
gem build aliseeks_api.gemspec
|
22
|
+
```
|
23
|
+
|
24
|
+
Then either install the gem locally:
|
25
|
+
|
26
|
+
```shell
|
27
|
+
gem install ./aliseeks_api-1.0.4.gem
|
28
|
+
```
|
29
|
+
(for development, run `gem install --dev ./aliseeks_api-1.0.4.gem` to install the development dependencies)
|
30
|
+
|
31
|
+
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
32
|
+
|
33
|
+
Finally add this to the Gemfile:
|
34
|
+
|
35
|
+
gem 'aliseeks_api', '~> 1.0.4'
|
36
|
+
|
37
|
+
### Install from Git
|
38
|
+
|
39
|
+
If the Ruby gem is hosted at a git repository: https://github.com/aliseeks/connect-ruby-sdk, then add the following in the Gemfile:
|
40
|
+
|
41
|
+
gem 'aliseeks_api', :git => 'https://github.com/aliseeks/connect-ruby-sdk.git'
|
42
|
+
|
43
|
+
### Include the Ruby code directly
|
44
|
+
|
45
|
+
Include the Ruby code directly using `-I` as follows:
|
46
|
+
|
47
|
+
```shell
|
48
|
+
ruby -Ilib script.rb
|
49
|
+
```
|
50
|
+
|
51
|
+
## Getting Started
|
52
|
+
|
53
|
+
Please follow the [installation](#installation) procedure and then run the following code:
|
54
|
+
```ruby
|
55
|
+
# Load the gem
|
56
|
+
require 'aliseeks_api'
|
57
|
+
|
58
|
+
# Setup authorization
|
59
|
+
AliseeksApi.configure do |config|
|
60
|
+
# Configure API key authorization: ApiKeyAuth
|
61
|
+
config.api_key['X-API-CLIENT-ID'] = 'YOUR API KEY'
|
62
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
63
|
+
#config.api_key_prefix['X-API-CLIENT-ID'] = 'Bearer'
|
64
|
+
end
|
65
|
+
|
66
|
+
api_instance = AliseeksApi::ProductsApi.new
|
67
|
+
opts = {
|
68
|
+
product_request: AliseeksApi::ProductRequest.new # ProductRequest | The request body of get product
|
69
|
+
}
|
70
|
+
|
71
|
+
begin
|
72
|
+
#Get products details as an aggregated request from AliExpress in realtime.
|
73
|
+
result = api_instance.get_product(opts)
|
74
|
+
p result
|
75
|
+
rescue AliseeksApi::ApiError => e
|
76
|
+
puts "Exception when calling ProductsApi->get_product: #{e}"
|
77
|
+
end
|
78
|
+
|
79
|
+
```
|
80
|
+
|
81
|
+
## Documentation for API Endpoints
|
82
|
+
|
83
|
+
All URIs are relative to *https://api.aliseeks.com/v1*
|
84
|
+
|
85
|
+
Class | Method | HTTP request | Description
|
86
|
+
------------ | ------------- | ------------- | -------------
|
87
|
+
*AliseeksApi::ProductsApi* | [**get_product**](docs/ProductsApi.md#get_product) | **POST** /products | Get products details as an aggregated request from AliExpress in realtime.
|
88
|
+
*AliseeksApi::ProductsApi* | [**get_product_details**](docs/ProductsApi.md#get_product_details) | **POST** /products/details | Gets product details from AliExpress in realtime.
|
89
|
+
*AliseeksApi::ProductsApi* | [**get_product_html_description**](docs/ProductsApi.md#get_product_html_description) | **POST** /products/description/html | Get product HTML description from AliExpress in realtime.
|
90
|
+
*AliseeksApi::ProductsApi* | [**get_product_reviews**](docs/ProductsApi.md#get_product_reviews) | **POST** /products/reviews | Get product reviews from AliExpress in realtime
|
91
|
+
*AliseeksApi::ProductsApi* | [**get_product_shipping**](docs/ProductsApi.md#get_product_shipping) | **POST** /products/shipping | Gets product shipping information AliExpress in realtime.
|
92
|
+
*AliseeksApi::ProductsApi* | [**get_product_skus**](docs/ProductsApi.md#get_product_skus) | **POST** /products/variations | Gets product skus / variation information from AliExpress in realtime.
|
93
|
+
*AliseeksApi::SearchApi* | [**realtime_search**](docs/SearchApi.md#realtime_search) | **POST** /search/realtime | Searches AliExpress in realtime
|
94
|
+
*AliseeksApi::SearchApi* | [**search**](docs/SearchApi.md#search) | **POST** /search | Searches AliExpress in non-realtime. Uses the Aliseeks.com datasource which is continually updated from AliExpress.
|
95
|
+
*AliseeksApi::SearchApi* | [**search_best_selling**](docs/SearchApi.md#search_best_selling) | **POST** /search/bestSelling | Retrieves best selling products from AliExpress in realtime.
|
96
|
+
*AliseeksApi::SearchApi* | [**search_by_image**](docs/SearchApi.md#search_by_image) | **POST** /search/image | Searches AliExpress by image in realtime.
|
97
|
+
*AliseeksApi::SearchApi* | [**upload_image_by_url**](docs/SearchApi.md#upload_image_by_url) | **POST** /search/image/upload | Uploads an image to AliExpress to allow it to be used in the image search endpoint
|
98
|
+
|
99
|
+
|
100
|
+
## Documentation for Models
|
101
|
+
|
102
|
+
- [AliseeksApi::Amount](docs/Amount.md)
|
103
|
+
- [AliseeksApi::BestSellingSearchItem](docs/BestSellingSearchItem.md)
|
104
|
+
- [AliseeksApi::BestSellingSearchRequest](docs/BestSellingSearchRequest.md)
|
105
|
+
- [AliseeksApi::BestSellingSearchResponse](docs/BestSellingSearchResponse.md)
|
106
|
+
- [AliseeksApi::DoubleRange](docs/DoubleRange.md)
|
107
|
+
- [AliseeksApi::ImageSearchCategory](docs/ImageSearchCategory.md)
|
108
|
+
- [AliseeksApi::ImageSearchItem](docs/ImageSearchItem.md)
|
109
|
+
- [AliseeksApi::ImageSearchRequest](docs/ImageSearchRequest.md)
|
110
|
+
- [AliseeksApi::ImageSearchResponse](docs/ImageSearchResponse.md)
|
111
|
+
- [AliseeksApi::IntegerRange](docs/IntegerRange.md)
|
112
|
+
- [AliseeksApi::NonRealtimeCurrency](docs/NonRealtimeCurrency.md)
|
113
|
+
- [AliseeksApi::PriceRange](docs/PriceRange.md)
|
114
|
+
- [AliseeksApi::PriceSummary](docs/PriceSummary.md)
|
115
|
+
- [AliseeksApi::Product](docs/Product.md)
|
116
|
+
- [AliseeksApi::ProductAttribute](docs/ProductAttribute.md)
|
117
|
+
- [AliseeksApi::ProductBulkOption](docs/ProductBulkOption.md)
|
118
|
+
- [AliseeksApi::ProductDetail](docs/ProductDetail.md)
|
119
|
+
- [AliseeksApi::ProductDetailsRequest](docs/ProductDetailsRequest.md)
|
120
|
+
- [AliseeksApi::ProductHtmlDescription](docs/ProductHtmlDescription.md)
|
121
|
+
- [AliseeksApi::ProductHtmlDescriptionRequest](docs/ProductHtmlDescriptionRequest.md)
|
122
|
+
- [AliseeksApi::ProductPriceOption](docs/ProductPriceOption.md)
|
123
|
+
- [AliseeksApi::ProductPromotion](docs/ProductPromotion.md)
|
124
|
+
- [AliseeksApi::ProductPropertyVariationIdentifier](docs/ProductPropertyVariationIdentifier.md)
|
125
|
+
- [AliseeksApi::ProductRequest](docs/ProductRequest.md)
|
126
|
+
- [AliseeksApi::ProductRequestComponent](docs/ProductRequestComponent.md)
|
127
|
+
- [AliseeksApi::ProductReview](docs/ProductReview.md)
|
128
|
+
- [AliseeksApi::ProductReviews](docs/ProductReviews.md)
|
129
|
+
- [AliseeksApi::ProductReviewsRequest](docs/ProductReviewsRequest.md)
|
130
|
+
- [AliseeksApi::ProductSeller](docs/ProductSeller.md)
|
131
|
+
- [AliseeksApi::ProductShipping](docs/ProductShipping.md)
|
132
|
+
- [AliseeksApi::ProductShippingOptions](docs/ProductShippingOptions.md)
|
133
|
+
- [AliseeksApi::ProductShippingRequest](docs/ProductShippingRequest.md)
|
134
|
+
- [AliseeksApi::ProductSku](docs/ProductSku.md)
|
135
|
+
- [AliseeksApi::ProductSkus](docs/ProductSkus.md)
|
136
|
+
- [AliseeksApi::ProductSkusRequest](docs/ProductSkusRequest.md)
|
137
|
+
- [AliseeksApi::PromotionOption](docs/PromotionOption.md)
|
138
|
+
- [AliseeksApi::RealtimeCurrency](docs/RealtimeCurrency.md)
|
139
|
+
- [AliseeksApi::RealtimeSearchAggregation](docs/RealtimeSearchAggregation.md)
|
140
|
+
- [AliseeksApi::RealtimeSearchItem](docs/RealtimeSearchItem.md)
|
141
|
+
- [AliseeksApi::RealtimeSearchRequest](docs/RealtimeSearchRequest.md)
|
142
|
+
- [AliseeksApi::RealtimeSearchResponse](docs/RealtimeSearchResponse.md)
|
143
|
+
- [AliseeksApi::SearchAggregation](docs/SearchAggregation.md)
|
144
|
+
- [AliseeksApi::SearchItem](docs/SearchItem.md)
|
145
|
+
- [AliseeksApi::SearchItemFreight](docs/SearchItemFreight.md)
|
146
|
+
- [AliseeksApi::SearchItemFreightType](docs/SearchItemFreightType.md)
|
147
|
+
- [AliseeksApi::SearchItemSeller](docs/SearchItemSeller.md)
|
148
|
+
- [AliseeksApi::SearchPriceOption](docs/SearchPriceOption.md)
|
149
|
+
- [AliseeksApi::SearchRequest](docs/SearchRequest.md)
|
150
|
+
- [AliseeksApi::SearchResponse](docs/SearchResponse.md)
|
151
|
+
- [AliseeksApi::SkuPriceOption](docs/SkuPriceOption.md)
|
152
|
+
- [AliseeksApi::SkuPriceOptionProperty](docs/SkuPriceOptionProperty.md)
|
153
|
+
- [AliseeksApi::SkuProperty](docs/SkuProperty.md)
|
154
|
+
- [AliseeksApi::SkuPropertyValue](docs/SkuPropertyValue.md)
|
155
|
+
- [AliseeksApi::StringRange](docs/StringRange.md)
|
156
|
+
- [AliseeksApi::TimeDuration](docs/TimeDuration.md)
|
157
|
+
- [AliseeksApi::TradeInformation](docs/TradeInformation.md)
|
158
|
+
- [AliseeksApi::UploadImageByUrlRequest](docs/UploadImageByUrlRequest.md)
|
159
|
+
- [AliseeksApi::UploadImageResponse](docs/UploadImageResponse.md)
|
160
|
+
- [AliseeksApi::WebError](docs/WebError.md)
|
161
|
+
|
162
|
+
|
163
|
+
## Documentation for Authorization
|
164
|
+
|
165
|
+
|
166
|
+
### ApiKeyAuth
|
167
|
+
|
168
|
+
- **Type**: API key
|
169
|
+
- **API key parameter name**: X-API-CLIENT-ID
|
170
|
+
- **Location**: HTTP header
|
171
|
+
|
data/Rakefile
ADDED
@@ -0,0 +1,45 @@
|
|
1
|
+
# -*- encoding: utf-8 -*-
|
2
|
+
|
3
|
+
=begin
|
4
|
+
#Aliseeks API
|
5
|
+
|
6
|
+
#AliExpress product searching and product details retrieval API.
|
7
|
+
|
8
|
+
OpenAPI spec version: 1.0.0
|
9
|
+
|
10
|
+
Generated by: https://openapi-generator.tech
|
11
|
+
OpenAPI Generator version: 3.3.4
|
12
|
+
|
13
|
+
=end
|
14
|
+
|
15
|
+
$:.push File.expand_path("../lib", __FILE__)
|
16
|
+
require "aliseeks_api/version"
|
17
|
+
|
18
|
+
Gem::Specification.new do |s|
|
19
|
+
s.name = "aliseeks_api"
|
20
|
+
s.version = AliseeksApi::VERSION
|
21
|
+
s.platform = Gem::Platform::RUBY
|
22
|
+
s.authors = ["Aliseeks"]
|
23
|
+
s.email = ["alex@aliseeks.com"]
|
24
|
+
s.homepage = "https://gitlab.com/aliseeksapi/aliseeks-ruby-sdk"
|
25
|
+
s.summary = "Aliseeks API Ruby Gem"
|
26
|
+
s.description = "Ruby client library for the Aliseeks API"
|
27
|
+
s.license = 'MIT'
|
28
|
+
s.required_ruby_version = ">= 1.9"
|
29
|
+
|
30
|
+
s.add_runtime_dependency 'typhoeus', '~> 1.0', '>= 1.0.1'
|
31
|
+
s.add_runtime_dependency 'json', '~> 2.1', '>= 2.1.0'
|
32
|
+
|
33
|
+
s.add_development_dependency 'rspec', '~> 3.6', '>= 3.6.0'
|
34
|
+
s.add_development_dependency 'vcr', '~> 3.0', '>= 3.0.1'
|
35
|
+
s.add_development_dependency 'webmock', '~> 1.24', '>= 1.24.3'
|
36
|
+
s.add_development_dependency 'autotest', '~> 4.4', '>= 4.4.6'
|
37
|
+
s.add_development_dependency 'autotest-rails-pure', '~> 4.1', '>= 4.1.2'
|
38
|
+
s.add_development_dependency 'autotest-growl', '~> 0.2', '>= 0.2.16'
|
39
|
+
s.add_development_dependency 'autotest-fsevent', '~> 0.2', '>= 0.2.12'
|
40
|
+
|
41
|
+
s.files = `find *`.split("\n").uniq.sort.select { |f| !f.empty? }
|
42
|
+
s.test_files = `find spec/*`.split("\n")
|
43
|
+
s.executables = []
|
44
|
+
s.require_paths = ["lib"]
|
45
|
+
end
|
data/docs/Amount.md
ADDED
@@ -0,0 +1,15 @@
|
|
1
|
+
# AliseeksApi::BestSellingSearchItem
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**id** | **String** | The ID of the product | [optional]
|
7
|
+
**title** | **String** | The title of the product | [optional]
|
8
|
+
**image_url** | **String** | The url of the product image | [optional]
|
9
|
+
**ratings** | **Float** | The product ratings | [optional]
|
10
|
+
**orders** | **Integer** | The number of orders that the item has | [optional]
|
11
|
+
**detail_url** | **String** | The detail URL of the item | [optional]
|
12
|
+
**store_detail_url** | **String** | The store detail URL for the item | [optional]
|
13
|
+
**price_options** | [**Array<SearchPriceOption>**](SearchPriceOption.md) | The price options of the item | [optional]
|
14
|
+
|
15
|
+
|
@@ -0,0 +1,12 @@
|
|
1
|
+
# AliseeksApi::BestSellingSearchRequest
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**range** | **String** | The time range to look for best selling products. Can be Top best selling products or Weekly best selling products. | [optional] [default to 'top']
|
7
|
+
**category** | **String** | The category to look for best selling products. Only certain categories can be searched for depending on the `range`. When range is \"top\", only the categories [ \"all\", \"fashion\", \"electronics\", \"sports\", \"health_beauty\", \"kids_baby\", \"home_garden\", \"automotive\" ] are supported. When range is \"weekly\", only the categories [ \"woman\", \"men\", \"electronics\", \"sports\", \"health_beauty\", \"kids_baby\", \"automotive\" ] are supported. | [optional] [default to 'electronics']
|
8
|
+
**skip** | **Integer** | The number of results to skip. Allows for pagination. | [optional] [default to 0]
|
9
|
+
**locale** | **String** | AliExpress locale to use. | [optional] [default to 'en_US']
|
10
|
+
**currency** | [**RealtimeCurrency**](RealtimeCurrency.md) | | [optional]
|
11
|
+
|
12
|
+
|
@@ -0,0 +1,8 @@
|
|
1
|
+
# AliseeksApi::BestSellingSearchResponse
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**items** | [**Array<BestSellingSearchItem>**](BestSellingSearchItem.md) | List of best selling products | [optional]
|
7
|
+
|
8
|
+
|
data/docs/DoubleRange.md
ADDED
@@ -0,0 +1,9 @@
|
|
1
|
+
# AliseeksApi::ImageSearchCategory
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**id** | **Integer** | The AliExpress item ID | [optional]
|
7
|
+
**name** | **String** | The name of the category | [optional]
|
8
|
+
|
9
|
+
|
@@ -0,0 +1,12 @@
|
|
1
|
+
# AliseeksApi::ImageSearchItem
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**id** | **String** | AliExpress product ID | [optional]
|
7
|
+
**title** | **String** | The title / subject of the AliExpress product | [optional]
|
8
|
+
**image_url** | **String** | The image of the item | [optional]
|
9
|
+
**price** | [**Amount**](Amount.md) | | [optional]
|
10
|
+
**orders** | **Integer** | The orders of the item | [optional]
|
11
|
+
|
12
|
+
|
@@ -0,0 +1,12 @@
|
|
1
|
+
# AliseeksApi::ImageSearchRequest
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**upload_key** | **String** | | [optional]
|
7
|
+
**currency** | [**RealtimeCurrency**](RealtimeCurrency.md) | | [optional]
|
8
|
+
**language** | **String** | AliExpress language to retrieve content in. Use locale. | [optional] [default to 'en_US']
|
9
|
+
**ship_to_country** | **String** | Two character iso country code | [optional]
|
10
|
+
**category** | **Integer** | AliExpress category to search in | [optional]
|
11
|
+
|
12
|
+
|
@@ -0,0 +1,10 @@
|
|
1
|
+
# AliseeksApi::ImageSearchResponse
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**categories** | [**Array<ImageSearchCategory>**](ImageSearchCategory.md) | The eligible categories that apply to this image search response | [optional]
|
7
|
+
**items** | [**Array<ImageSearchItem>**](ImageSearchItem.md) | The items that match the image | [optional]
|
8
|
+
**selected_category_id** | **Integer** | The category ID which is selected | [optional]
|
9
|
+
|
10
|
+
|