Skip to content

41766717/tyk-java-client

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tyk Java Client

This is a Java client for the Tyk API Gateway. This project implements the Tyk v1.7 REST API. This client has not been fully tested so please report any issues or problems.

Build Status

Usage

All requests follow the general pattern show below:

TykClient client = new TykClient("http://endpoint", "tyk-authorization-key");

// Create a request.
CreateKeyRequest request = new CreateKeyRequest();

// Send a request and get a response.
CreateKeyResponse response = client.createApiKey(request);

// Get what you need from the response.
String newApiKey = response.getKey();

The TykClient has a separate constructor that takes a read timeout and connection timeout in seconds if the default 60 second timeout is unacceptable.

Contributing

Contributions in all areas (development, testing, documentation) are very much welcomed. Please fork and submit pull requests.

License

This project is licensed under the Apache 2.0 license.

About

This project is maintained by Mountain Fog and we can be contacted via email at support@mtnfog.com.

About

Java client for Tyk API Gateway

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 100.0%