slackapi - SlackAPI 1.0.7-147botspro.139+sha.d7529d0d
A Slack wrapper for direct interaction with their APIs.
PM> Install-Package SlackAPI -Version 1.0.7-147botspro.139 -Source https://www.myget.org/F/slackapi/api/v3/index.json
> nuget.exe install SlackAPI -Version 1.0.7-147botspro.139 -Source https://www.myget.org/F/slackapi/api/v3/index.json
> dotnet add package SlackAPI --version 1.0.7-147botspro.139 --source https://www.myget.org/F/slackapi/api/v3/index.json
source https://www.myget.org/F/slackapi/api/v3/index.json
nuget SlackAPI ~> 1.0.7-147botspro.139
Copy to clipboard
> choco install SlackAPI --version 1.0.7-147botspro.139 --source https://www.myget.org/F/slackapi/api/v2
Import-Module PowerShellGet
Register-PSRepository -Name "slackapi" -SourceLocation "https://www.myget.org/F/slackapi/api/v2"
Install-Module -Name "SlackAPI" -RequiredVersion "1.0.7-147botspro.139" -Repository "slackapi" -AllowPreRelease
Copy to clipboard
Browse the sources in this package using Visual Studio or WinDbg by configuring the following legacy symbol server URL: https://www.myget.org/F/slackapi/symbols/
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 inumedia@inumedia.net.
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
toconfig.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
- Copy/paste
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
-
.NETFramework 4.5
- Newtonsoft.Json (>= 9.0.1)
- System.Net.Http (>= 4.3.4)
-
.NETStandard 1.3
- NETStandard.Library (>= 1.6.1)
- Newtonsoft.Json (>= 9.0.1)
- System.Net.Http (>= 4.3.4)
- System.Net.Requests (>= 4.3.0)
- System.Net.WebSockets.Client (>= 4.3.2)
- System.Reflection.TypeExtensions (>= 4.5.1)
-
.NETStandard 1.6
- Microsoft.Extensions.DependencyModel (>= 2.1.0)
- NETStandard.Library (>= 1.6.1)
- Newtonsoft.Json (>= 9.0.1)
- System.Net.Http (>= 4.3.4)
- System.Net.Requests (>= 4.3.0)
- System.Net.WebSockets.Client (>= 4.3.2)
-
.NETStandard 2.0
- Newtonsoft.Json (>= 9.0.1)
- System.Net.Http (>= 4.3.4)
- .NETFramework 4.5: 4.5.0.0
- .NETStandard 1.3: 1.3.0.0
- .NETStandard 1.6: 1.6.0.0
- .NETStandard 2.0: 2.0.0.0
Assembly | Assembly hash | Match |
---|---|---|
/lib/netstandard2.0/slackapi.dll | 1ae531c2429644ada2da69bb7a6ca0191 | |
/lib/net45/slackapi.dll | 2ecaa206db06425eadfb45b64d95fa741 | |
/lib/netstandard1.3/slackapi.dll | 56d4531a381a4252a9602c30188112931 | |
/lib/netstandard1.6/slackapi.dll | fdda03135a9d4a8c92f0de2714cfe0cf1 |
OwnersGregoire Pailler |
AuthorsInumedia |
Project URLhttps://github.com/Inumedia/SlackAPI |
LicenseMIT |
Info555 total downloads |
4 downloads for version 1.0.7-147botspro.139+sha.d7529d0d |
Download (151.59 KB) |
Download legacy symbols (362.22 KB) |
Found on the current feed only |
Package history
Version | Size | Last updated | Downloads | Mirrored? | |||
---|---|---|---|---|---|---|---|
1.2.0-pullrequest0016 | 95.97 KB | Wed, 18 Mar 2020 14:51:14 GMT | 10 | ||||
1.2.0-obsolete-netstd0001 | 95.96 KB | Sun, 08 Mar 2020 08:15:42 GMT | 3 | ||||
1.1.7-proper-versionni0001 | 190.24 KB | Sun, 08 Mar 2020 07:27:43 GMT | 9 | ||||
1.1.0-unreadcoun.212+sha.b94410ad | 187.47 KB | Tue, 17 Sep 2019 14:39:46 GMT | 15 | ||||
1.1.0-unittestsf.229+sha.59bdb015 | 189.18 KB | Wed, 20 Nov 2019 15:42:24 GMT | 12 | ||||
1.1.0-unittestsf.225+sha.f1dba439 | 189.15 KB | Wed, 20 Nov 2019 14:38:35 GMT | 12 | ||||
1.1.0-presencech.219+sha.fe24a78c | 188.64 KB | Wed, 13 Nov 2019 14:38:53 GMT | 4 | ||||
1.1.0-presencech.218+sha.41e7c7f9 | 188.63 KB | Wed, 13 Nov 2019 14:31:18 GMT | 13 | ||||
1.1.0-presencech.217+sha.a7cdc4e3 | 188.8 KB | Wed, 13 Nov 2019 14:02:33 GMT | 4 | ||||
1.1.0-mitigatesl.239+sha.67c4d75f | 189.21 KB | Sun, 24 Nov 2019 03:43:33 GMT | 4 | ||||
1.1.0-mitigatesl.238+sha.67c4d75f | 189.19 KB | Sun, 24 Nov 2019 02:05:04 GMT | 5 | ||||
1.1.0-master.259+sha.549ca4a7 | 189.83 KB | Mon, 02 Mar 2020 22:47:11 GMT | 10 | ||||
1.1.0-master.257+sha.f24ddc9c | 189.69 KB | Mon, 02 Mar 2020 22:03:28 GMT | 12 | ||||
1.1.0-master.249+sha.54f817d6 | 189.48 KB | Thu, 30 Jan 2020 04:51:15 GMT | 13 | ||||
1.1.0-master.248+sha.b8c4048e | 189.33 KB | Thu, 30 Jan 2020 04:49:00 GMT | 5 | ||||
1.1.0-master.247+sha.bd117b7e | 189.22 KB | Thu, 30 Jan 2020 01:45:56 GMT | 4 | ||||
1.1.0-master.242+sha.6626c68f | 189.12 KB | Sun, 24 Nov 2019 06:08:43 GMT | 11 | ||||
1.1.0-master.216+sha.89e3fadf | 186.98 KB | Wed, 13 Nov 2019 12:19:05 GMT | 12 | ||||
1.1.0-master.211+sha.cbc739e5 | 187.01 KB | Thu, 22 Aug 2019 13:32:00 GMT | 12 | ||||
1.1.0-master.210+sha.6d5b349d | 187.17 KB | Thu, 22 Aug 2019 13:27:15 GMT | 11 | ||||
1.1.0-master.209+sha.3bf98a00 | 187.17 KB | Wed, 21 Aug 2019 13:40:39 GMT | 11 | ||||
1.1.0-master.207+sha.717ad7d8 | 186.76 KB | Wed, 21 Aug 2019 13:30:26 GMT | 4 | ||||
1.1.0-master.200+sha.578b6c8f | 186.51 KB | Tue, 21 May 2019 15:13:59 GMT | 8 | ||||
1.1.0-master.193+sha.971beca6 | 173.51 KB | Fri, 17 May 2019 02:19:30 GMT | 4 | ||||
1.1.0-master.191+sha.a8594e4f | 172.61 KB | Fri, 17 May 2019 00:56:38 GMT | 4 | ||||
1.1.0-master.188+sha.0ceb5efe | 154.77 KB | Mon, 13 May 2019 09:39:26 GMT | 13 | ||||
1.1.0-master.186+sha.38312bb6 | 154.72 KB | Fri, 03 May 2019 13:30:21 GMT | 5 | ||||
1.1.0-master.184+sha.decf6ea7 | 154.67 KB | Fri, 03 May 2019 13:25:37 GMT | 4 | ||||
1.1.0-master.175+sha.f6d639e0 | 154.7 KB | Thu, 14 Mar 2019 01:18:05 GMT | 13 | ||||
1.1.0-master.174+sha.4400f78a | 154.3 KB | Thu, 14 Mar 2019 01:06:07 GMT | 11 | ||||
1.1.0-master.166+sha.f4ef777a | 154.23 KB | Wed, 21 Nov 2018 01:48:04 GMT | 13 | ||||
1.1.0-bump1.1.0.163+sha.c4cf519d | 152.71 KB | Wed, 21 Nov 2018 01:38:33 GMT | 5 | ||||
1.0.7-uploadfile.159+sha.cd6f6df7 | 153.68 KB | Sun, 18 Nov 2018 08:21:57 GMT | 4 | ||||
1.0.7-releasever.133+sha.8dbfee44 | 152.13 KB | Wed, 07 Nov 2018 03:19:58 GMT | 12 | ||||
1.0.7-randomutsf.142+sha.562572bb | 152.16 KB | Fri, 09 Nov 2018 04:43:52 GMT | 11 | ||||
1.0.7-prupdatebu.148+sha.7490a4fa | 152.14 KB | Fri, 09 Nov 2018 16:19:54 GMT | 12 | ||||
1.0.7-proxysuppo.154+sha.7f57a797 | 152.48 KB | Sat, 10 Nov 2018 15:37:34 GMT | 5 | ||||
1.0.7-master.161+sha.56e5471f | 152.68 KB | Tue, 20 Nov 2018 22:28:21 GMT | 13 | ||||
1.0.7-master.153+sha.969e7b2a | 151.5 KB | Fri, 09 Nov 2018 23:03:29 GMT | 6 | ||||
1.0.7-master.138+sha.f787daa1 | 152.07 KB | Thu, 08 Nov 2018 21:21:31 GMT | 4 | ||||
1.0.7-master.134+sha.f787daa1 | 152.08 KB | Wed, 07 Nov 2018 04:26:11 GMT | 5 | ||||
1.0.7-master.131+sha.2be04724 | 152.07 KB | Wed, 07 Nov 2018 01:52:10 GMT | 5 | ||||
1.0.7-getaccesst.136+sha.f1d48135 | 152.13 KB | Thu, 08 Nov 2018 20:20:20 GMT | 10 | ||||
1.0.7-bump1.0.7.130+sha.2cb7c33a | 152.11 KB | Tue, 06 Nov 2018 02:43:04 GMT | 12 | ||||
1.0.7-150posteph.137+sha.63e92913 | 152.15 KB | Thu, 08 Nov 2018 20:39:43 GMT | 12 | ||||
1.0.7-147botspro.141+sha.d7529d0d | 151.58 KB | Fri, 09 Nov 2018 00:18:26 GMT | 4 | ||||
1.0.7-147botspro.139+sha.d7529d0d | 151.59 KB | Thu, 08 Nov 2018 21:44:54 GMT | 4 | ||||
1.0.6 | 113.69 KB | Wed, 30 Aug 2017 17:29:46 GMT | 80 | ||||
1.0.6-readmecomp.122+sha.ac26cc3f | 152.01 KB | Fri, 02 Nov 2018 02:15:21 GMT | 4 | ||||
1.0.6-pr135.120+sha.23e58dce | 151.95 KB | Thu, 01 Nov 2018 17:50:45 GMT | 3 | ||||
1.0.6-pr135.119+sha.9e540579 | 151.92 KB | Thu, 01 Nov 2018 17:36:52 GMT | 6 | ||||
1.0.6-pr134.125+sha.e9582e20 | 152.06 KB | Fri, 02 Nov 2018 03:05:54 GMT | 5 | ||||
1.0.6-master.129+sha.43912b2a | 152.06 KB | Mon, 05 Nov 2018 13:12:25 GMT | 6 | ||||
1.0.6-master.121+sha.a460a85f | 151.95 KB | Thu, 01 Nov 2018 18:32:05 GMT | 12 | ||||
1.0.6-master.118+sha.205ec779 | 114.13 KB | Thu, 01 Nov 2018 15:57:23 GMT | 12 | ||||
1.0.6-master.117+sha.ec180138 | 114.13 KB | Thu, 01 Nov 2018 15:54:16 GMT | 5 | ||||
1.0.6-cleanproje.123+sha.b6d7a638 | 152.01 KB | Fri, 02 Nov 2018 02:48:02 GMT | 11 | ||||
1.0.6-addedfiles.124+sha.69f139f4 | 152.02 KB | Fri, 02 Nov 2018 02:50:45 GMT | 4 | ||||
1.0.5-netcore-91 | 110.62 KB | Fri, 20 Jan 2017 15:38:47 GMT | 12 |