[go: up one dir, main page]

Skip to content

uakihir0/jtw

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JTW

JTW is Twitter v2 API Client for Java. This library can be complied to Objective-C by J2ObjC. To make pojo object, use jsonschema2pojo.

HowToUse

// OAuth 1.1a
JTWFactory factory = JTWFactory.fromConsumerKeyAndSecret(CONSUMER_KEY, CONSUMER_SECRET);
JTW client = factory.verifyWithAccessToken(ACCESS_TOKEN, ACCESS_TOKEN_SECRET);

// Send Request. (/2/users/:id)
Response<Root<User>> response = client.show(UsersLookupIdRequest.builder("11348282").build());

// Show Response.
System.out.println(response.getValue().getData().getName()); // NASA

Status

License

MIT

Author

Twitter: @uakihir0

About

Twitter V2 API client library for Java.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages