GithubHelp home page GithubHelp logo

yusufpapurcu / slack-rs-api Goto Github PK

View Code? Open in Web Editor NEW

This project forked from slack-rs/slack-rs-api

0.0 1.0 0.0 912 KB

Rust interface for the Slack Web API

License: Apache License 2.0

Rust 100.00%

slack-rs-api's Introduction

slack-rs-api

Slack Web API interface.

Build Status Crates.io License

Documentation

Usage

Add this to your Cargo.toml:

[dependencies]
slack_api = "0.23.0"

Async

default-features include an async functions and client using reqwest
See async channel history example

Sync

The "sync" feature provides sync functions and the "reqwest_blocking" feature provides a sync client using reqwest
See sync channel history example

Slack docs

Slack's api is large and changes often. Their docs are high quality and no attempt to replicate them is made in this crate's docs. Please refer to their docs as your primary resource of how slack's api works.

Providing own client

You can provide your own client by implementing the async or sync versions of SlackWebRequestSender.
Which should would allow avoiding reqwest and thus tokio.

Something I need is missing

Not every method is available in this crate but if something is missing you would like then please log an issue. Bear in mind this is maintained in contributor's spare time and contributions are welcome.

License

slack-api is distributed under the Apache-2.0 License.

slack-rs-api's People

Contributors

dten avatar mthjones avatar bentheelder avatar kiyoto avatar leshow avatar squidpickles avatar yusufpapurcu avatar bwasty avatar kroisse avatar koala-kalda avatar osa1 avatar briprowe avatar clux avatar jgulotta avatar neil-lobracco avatar azdle avatar

Watchers

 avatar

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.