Coder Social home page Coder Social logo

slackapi's Introduction

Build status NuGet MyGet Pre Release

SlackAPI

This is a third party implementation of Slack's API written in C#. This supports their WebAPI as well as their Real Time Messaging API.

Examples

Some examples can be found on the Wiki: https://github.com/Inumedia/SlackAPI/wiki/Examples

Issues and Bugs

Please log an issue if you find any bugs or think something isn't correct.

Getting in touch

I have a Slack setup for personal projects with a few friends, this includes this Github and a few others as public channels. If you want access, shoot me a quick email [email protected].

Committer access

Want committer access? Feel like I'm too lazy to keep up with Slack's ever changing API? Want a bug fixed but don't want to log an issue for it?

Create some pull requests, give me a reason to give you access.

How to build the solution

(aka where is the config.json file?)

The project SlackAPI.Tests requires a valid config.json file for tests. You have two options to build the solution:

  • Unload SlackAPI.Tests project and you're able to build SlackAPI solution.
  • Create your own config.json file to be able to run tests and validate your changes.
    • Copy/paste config.default.json to config.json
    • Update config.json file with your settings
      • userAuthToken : Visit https://api.slack.com/docs/oauth-test-tokens to generate a token for your user
      • botAuthToken : Visit https://my.slack.com/services/new/bot to create a bot for your Slack team and retrieve associated token
      • testChannel : A channel ID (user associated to userAuthToken must be member of the channel)
      • directMessageUser : A Slack member username
      • clientId/clientSecret/authCode : Not used

NuGet package

SlackAPI NuGet package is build with following platforms support:

  • .NET Framework 4.5
  • .NET Standard 1.3 (UWP support).
    • The version cannot detect SlackSocketRouting attributes in loaded assemblies (used to extend SlackAPI to handle custom messages).
  • .NET Standard 1.6
  • .NET Standard 2.0

(.NET implementation compatibility table)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.