No description, website, or topics provided.
Java
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
meekan-java-sdk
LICENSE
README.md

README.md

meekan-java-sdk

Please check the documentation to all the methods over here

JAVA SDK

You will need except of the sdk to use the following jars.

  • jackson-core-2.3.3
  • jackson-annotations-2.3.3
  • jackson-databind-2.3.3

You can find them over here

Code Example

// Initialize the meekan api with your api key
MeekanApi meekanApi = new MeekanApi(apiKey); 
// Credentials for icloud authenticate
ICloudAuthenticate iCloudAuthenticate = new ICloudAuthenticate(username, password, icloudId) 
ApiRequestResponse icloudAuthenticate2 = meekanApi.icloudAuthenticate(iCloudAuthenticate); 

// Get account ids for each email
Collection<String> idsOfAccounts = Arrays.asList("example@meekan.com", "meekan@example.com");
ApiRequestResponse response = meekanApi.getIdsToAccounts(idsOfAccounts);
System.out.println(response.getResponse());
// Get all meeting that changed since ..
ApiRequestResponse meetings = meekanApi.getMeetings((System.currentTimeMillis() / 1000) - 10000);
System.out.println(meetings.getResponse());