Axesso / axesso-java-client

Java SDK for the axesso rest API

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

axesso-java-client

Axesso Api

  • API version: 1.0.0
    • Build date: 2018-12-21T15:33:25.535Z

Use this api to fetch information to Amazon products and more.

Automatically generated by the Swagger Codegen

Requirements

Building the API client library requires:

  1. Java 1.7+
  2. Maven/Gradle

Installation

To install the API client library to your local Maven repository, simply execute:

mvn clean install

To deploy it to a remote Maven repository instead, configure the settings of the repository and execute:

mvn clean deploy

Refer to the OSSRH Guide for more information.

Maven users

Add this dependency to your project's POM:

<dependency>
  <groupId>de.axesso</groupId>
  <artifactId>axesso-java-client</artifactId>
  <version>1.0.0</version>
  <scope>compile</scope>
</dependency>

Gradle users

Add this dependency to your project's build file:

compile "de.axesso:axesso-java-client:1.0.0"

Others

At first generate the JAR by executing:

mvn clean package

Then manually install the following JARs:

  • target/axesso-java-client-1.0.0.jar
  • target/lib/*.jar

Getting Started

Please follow the installation instruction and execute the following Java code:

import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.AmzApi;

import java.io.File;
import java.util.*;

public class AmzApiExample {

    public static void main(String[] args) {
        
        AApiClient client = new ApiClient();
	client.setApiKey("XXXXXX");			//contact support@axesso.de to get key
	AmzApi apiInstance = new AmzApi(client);
        try {
            ProductDetailsResponse product = apiInstance.requestProduct("https://www.amazon.com/dp/B07TN8B972", null);
            System.out.println(product);
        } catch (ApiException e) {
            System.err.println("Exception when calling AmzApi#requestProduct");
            e.printStackTrace();
        }
    }
}

Documentation for API Endpoints

All URIs are relative to http://api.axesso.de

Class Method HTTP request Description
AmzApi keywordSearch GET /amz/amazon-search-by-keyword fetch results auf a keyword search on Amazon
AmzApi requestBuyRecommendation GET /amz/amazon-lookup-buy-recommendations request buy recommendations to a given product
AmzApi requestProduct GET /amz/amazon-lookup-product lookup product information
AmzApi sortOptions GET /amz/sort-options request available sort options to use in keyword search

Documentation for Models

Documentation for Authorization

All endpoints do not require authorization. Authentication schemes defined for the API:

Recommendation

It's recommended to create an instance of ApiClient per thread in a multithreaded environment to avoid any potential issues.

Author

support@axesso.de

About

Java SDK for the axesso rest API


Languages

Language:Java 98.3%Language:Shell 1.1%Language:Scala 0.6%