com.walmart.openapi
Class SearchApi
java.lang.Object
com.walmart.openapi.SearchApi
public class SearchApi
- extends java.lang.Object
Make calls to the search API.
|
Constructor Summary |
SearchApi(java.lang.String apiKey)
|
SearchApi(java.lang.String apiKey,
java.lang.String lsPublisherId)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SearchApi
public SearchApi(java.lang.String apiKey,
java.lang.String lsPublisherId)
- Parameters:
apiKey - - Can be obtained by registering on developer.walmartlabs.comlsPublisherId - - By providing your publisher id you can get paid links
associated with your linkshare account. You can register
at affiliates.walmart.com to create your linkshare account.
SearchApi
public SearchApi(java.lang.String apiKey)
- Parameters:
apiKey - - Can be obtained by registering on developer.walmartlabs.com
getSearchResponse
public SearchResponse getSearchResponse(java.lang.String queryString)
throws java.io.IOException,
java.util.concurrent.ExecutionException,
java.lang.InterruptedException
- Throws:
java.io.IOException
java.util.concurrent.ExecutionException
java.lang.InterruptedException
getSearchResponseFuture
public java.util.concurrent.Future<SearchResponse> getSearchResponseFuture(java.lang.String queryString)
throws java.io.IOException,
java.util.concurrent.ExecutionException,
java.lang.InterruptedException
- Throws:
java.io.IOException
java.util.concurrent.ExecutionException
java.lang.InterruptedException