Skip to content

kmonkeyjam/slack-java-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

slack-java-client

A simple slack java client that wraps the WebAPI.

Configure the client:

  • Create the applicationhttps://api.slack.com/applications
  • Create a file src/main/resources/slack_client_secret.json. An example can be found at src/main/resources/example_client_secret.json

Example usage:

SlackClient client = new SlackClient();
SlackChannelHistoryResponse history = client.getHistory("C0000000");
history.messages.stream().forEach(m -> System.out.println(m.text));

About

A simple slack java client that auths and posts to the web api

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages