Hi everyone,
After working on the new
SC4Devotion LEX API, which allows easy access to the LEX functionality outside the SC4Devotion website for a fair bit, I decided to start building a Java LEX API Wrapper, which will abstract most of the lower level stuff (fetching the JSON, putting the results into Java beans, etc.) for you and allow you to focus on your LEX application only.
Example:This is how you can get the profile for a user and print the full name:
Auth auth = new Auth("username", "password");
UserRoute route = new UserRoute(auth);
User user = route.getUser();
System.out.println(user.getFullname());
Source:Source-code is available at
the Github repository and is licensed under the GPLv2 License. Everyone who wants to help and contribute is free to do so of course.
Documentation/Javadoc:Documentation in the form of Javadoc is available through Github Pages:
http://caspervg.github.io/SC4D-LEX4JReleases:v 0.5.0-beta: Click here to downloadUsage instructions:Add the "LEX4J.jar" and the dependencies in the /lib/ directory to your project. That's it
