Skip to content

Commit

Permalink
- removed outdated documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
keepacom committed Dec 16, 2021
1 parent 32d130b commit be25cdf
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

<groupId>com.keepa.api</groupId>
<artifactId>backend</artifactId>
<version>1.72</version>
<version>1.73</version>

<packaging>jar</packaging>
<name>Keepa Java Framework</name>
Expand Down
1 change: 1 addition & 0 deletions src/main/java/com/keepa/api/backend/KeepaAPI.java
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ public void shutdown(boolean shutdownNow) {
final public Promise<Response, Response, Void> sendRequest(Request r) {
return sendRequest(r, 30000, 120000);
}

/**
* Issue a request to the Keepa Price Data API.
* If your tokens are depleted, this method will fail.
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/com/keepa/api/backend/structs/Request.java
Original file line number Diff line number Diff line change
Expand Up @@ -389,7 +389,7 @@ public static Request getProductSearchRequest(final AmazonLocale domainId, Strin
* @param history Whether or not to include the product's history data (csv field). If you do not evaluate the csv field set to false to speed up the request and reduce traffic.
* @param update If the product's last refresh is older than <i>update</i>-hours force a refresh. Use this to speed up requests if up-to-date data is not required. Might cost an extra token if 0 (= live data). Default 1.
* @param stats If specified (= not null) the product object will have a stats field with quick access to current prices, min/max prices and the weighted mean values of the last x days, where x is the value of the stats parameter.
* @param asinsOnly If true only the ASINs of the found products will be provided (instead of the product objects). If this parameter is used the token cost of the request is reduced to 5 tokens.
* @param asinsOnly If true only the ASINs of the found products will be provided (instead of the product objects).
* @return A ready to send request.
*/
public static Request getProductSearchRequest(final AmazonLocale domainId, String term, Integer stats, int update, boolean history, boolean asinsOnly) {
Expand All @@ -416,7 +416,7 @@ public static Request getProductSearchRequest(final AmazonLocale domainId, Strin
* @param history Whether or not to include the product's history data (csv field). If you do not evaluate the csv field set to false to speed up the request and reduce traffic.
* @param update If the product's last refresh is older than <i>update</i>-hours force a refresh. Use this to speed up requests if up-to-date data is not required. Might cost an extra token if 0 (= live data). Default 1.
* @param stats If specified (= not null) the product object will have a stats field with quick access to current prices, min/max prices and the weighted mean values of the last x days, where x is the value of the stats parameter.
* @param asinsOnly If true only the ASINs of the found products will be provided (instead of the product objects). If this parameter is used the token cost of the request is reduced to 5 tokens.
* @param asinsOnly If true only the ASINs of the found products will be provided (instead of the product objects).
* @param page Valid values 0 - 9. Each search result page provides up to 10 results. To retrieve more results iterate the page parameter and keep all other parameters identical. Start with page 0 and stop when the response contains less than 10 results or you have reached page 9, which is the limit. When not using the page parameter the first 40 results will be returned.
* @return A ready to send request.
*/
Expand Down

0 comments on commit be25cdf

Please sign in to comment.