All URIs are relative to http://api.axesso.de
Method | HTTP request | Description |
---|---|---|
keywordSearch | GET /amz/amazon-search-by-keyword | fetch results auf a keyword search on Amazon |
requestBuyRecommendation | GET /amz/amazon-lookup-buy-recommendations | request buy recommendations to a given product |
requestProduct | GET /amz/amazon-lookup-product | lookup product information |
sortOptions | GET /amz/sort-options | request available sort options to use in keyword search |
KeywordSearchResponse keywordSearch(keyword, domainCode, sortBy, numberOfProducts)
fetch results auf a keyword search on Amazon
// Import classes:
//import io.swagger.client.ApiException;
//import io.swagger.client.api.AmzApi;
AmzApi apiInstance = new AmzApi();
String keyword = "keyword_example"; // String | keyword to search
String domainCode = "domainCode_example"; // String | domain for the search
String sortBy = "relevanceblender"; // String | sort option
Integer numberOfProducts = 20; // Integer | number of the results (max 20)
try {
KeywordSearchResponse result = apiInstance.keywordSearch(keyword, domainCode, sortBy, numberOfProducts);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling AmzApi#keywordSearch");
e.printStackTrace();
}
Name | Type | Description | Notes |
---|---|---|---|
keyword | String | keyword to search | |
domainCode | String | domain for the search | |
sortBy | String | sort option | [optional] [default to relevanceblender] |
numberOfProducts | Integer | number of the results (max 20) | [optional] [default to 20] |
No authorization required
- Content-Type: Not defined
- Accept: application/json
BuyRecommendationResponse requestBuyRecommendation(url)
request buy recommendations to a given product
// Import classes:
//import io.swagger.client.ApiException;
//import io.swagger.client.api.AmzApi;
AmzApi apiInstance = new AmzApi();
String url = "url_example"; // String | The url of the requested product.
try {
BuyRecommendationResponse result = apiInstance.requestBuyRecommendation(url);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling AmzApi#requestBuyRecommendation");
e.printStackTrace();
}
Name | Type | Description | Notes |
---|---|---|---|
url | String | The url of the requested product. |
No authorization required
- Content-Type: Not defined
- Accept: application/json
ProductDetailsResponse requestProduct(url, size)
lookup product information
// Import classes:
//import io.swagger.client.ApiException;
//import io.swagger.client.api.AmzApi;
AmzApi apiInstance = new AmzApi();
String url = "url_example"; // String | The url of the requested product.
String size = "size_example"; // String | Size parameter if available.
try {
ProductDetailsResponse result = apiInstance.requestProduct(url, size);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling AmzApi#requestProduct");
e.printStackTrace();
}
Name | Type | Description | Notes |
---|---|---|---|
url | String | The url of the requested product. | |
size | String | Size parameter if available. | [optional] |
No authorization required
- Content-Type: Not defined
- Accept: application/json
SortOptionResponse sortOptions()
request available sort options to use in keyword search
// Import classes:
//import io.swagger.client.ApiException;
//import io.swagger.client.api.AmzApi;
AmzApi apiInstance = new AmzApi();
try {
SortOptionResponse result = apiInstance.sortOptions();
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling AmzApi#sortOptions");
e.printStackTrace();
}
This endpoint does not need any parameter.
No authorization required
- Content-Type: Not defined
- Accept: application/json