slacko

A neat interface for Slack

OTHER License

Stars
81
slacko - https://github.com/Leonidas-from-XIV/slacko/releases/tag/0.15.0 Latest Release

Published by Leonidas-from-XIV over 5 years ago

CHANGES:

  • Better handling of timestamps (@paurkedal)
  • Update user type to match what Slack returns (@Khady)
  • Update OPAM metadata to 2.0 format
  • Fixed brittle build
slacko - https://github.com/Leonidas-from-XIV/slacko/releases/tag/0.14.1

Published by Leonidas-from-XIV about 6 years ago

CHANGES:

  • Support additional arguments to chat.post_message and chat.update
  • Adjust build process to use dune instead of jbuilder
  • Replace topkg code with dune-release
slacko - More typing, less broken endpoints

Published by Leonidas-from-XIV over 7 years ago

This release fixes a number of previously broken endpoints and adds an integration test to make sure that whatever is implemented keeps on working.

slacko - Further strenghtened type safety by removing stringly types

Published by Leonidas-from-XIV almost 10 years ago

  • Added type chat to abstract away from all types of channels Slack supports
  • Removed topic-is-too-long errors as the binding checks the topic length beforehand
  • Added conversation as a new type instead of string IM conversation type
  • More syntactic sugar in code, endpoint definitions now a long pipe
slacko - Type safety increased, more Slack API supported

Published by Leonidas-from-XIV almost 10 years ago

The binding now looks up User/Channel/Group IDs and rejects invalid ones. The message length is now validated: messages that are too long cannot be generated anymore.

Adds support for some more new Slack methods:

  • channels.archive
  • channels.create
  • channels.rename
  • channels.unarchive
  • groups.archive
  • groups.rename
  • groups.unarchive
slacko - API calls now represented by proper types

Published by Leonidas-from-XIV about 10 years ago

In this release, one of the main criticisms was addressed: the API calls are now represented by their own types, so there are now channel types, user types and many more. Some parameters can have only a limited number of values, these are also represented using their own types so calling the methods with incorrect values is impossible.

The code was updated to use the new Lwt 2.4.6 ppx macros instead of CamlP4, so this is the minimum required release. Also, better use OCaml 4.02.0 for improved support for ppx.

slacko - More API coverage, better types

Published by Leonidas-from-XIV about 10 years ago

Added users.info method, broken up apierror into a set of more relevant types per function.

slacko - First public release: 0.9.0

Published by Leonidas-from-XIV about 10 years ago

Time to get this code to the internetz! Features: 100% API coverage and a handy tool to post messages to Slack. Also, some rudimentary docs and a neat logo made by yours truly.