All Projects → os → Slacker

os / Slacker

Licence: apache-2.0
Full-featured Python interface for the Slack API

Programming Languages

python
139335 projects - #7 most used programming language

Labels

Projects that are alternatives of or similar to Slacker

Slack
🎉✨ Slack API client for Node and browsers.
Stars: ✭ 903 (-44.09%)
Mutual labels:  api, slack
Slack Starterbot
Python-powered simple starter Slack bot.
Stars: ✭ 169 (-89.54%)
Mutual labels:  api, slack
Broid Kit
Bot framework powered by Broid
Stars: ✭ 58 (-96.41%)
Mutual labels:  api, slack
Slackapidoc
Documentation of undocumented Slack API methods
Stars: ✭ 380 (-76.47%)
Mutual labels:  api, slack
Slacko
A neat interface for Slack
Stars: ✭ 64 (-96.04%)
Mutual labels:  api, slack
Ng Gapi
ng-gapi a Google api module for Angular 6+
Stars: ✭ 126 (-92.2%)
Mutual labels:  api
Api Common Protos
A standard library for use in specifying protocol buffer APIs.
Stars: ✭ 127 (-92.14%)
Mutual labels:  api
Assent
Multi-provider framework in Elixir
Stars: ✭ 126 (-92.2%)
Mutual labels:  slack
Kinopoiskpy
Python API to kinopoisk.ru
Stars: ✭ 126 (-92.2%)
Mutual labels:  api
Slack Orb
Create custom Slack notifications for CircleCI job statuses
Stars: ✭ 129 (-92.01%)
Mutual labels:  slack
Zabbixapi
Ruby wrapper to Zabbix API
Stars: ✭ 128 (-92.07%)
Mutual labels:  api
Ewelink Api
eWeLink API for JavaScript
Stars: ✭ 128 (-92.07%)
Mutual labels:  api
Pokemongoapi Php
Pokemon Go API PHP library
Stars: ✭ 127 (-92.14%)
Mutual labels:  api
Irslackd
Self-hosted IRC gateway to Slack
Stars: ✭ 128 (-92.07%)
Mutual labels:  slack
Dm env
A Python interface for reinforcement learning environments
Stars: ✭ 127 (-92.14%)
Mutual labels:  api
Scobot
SCORM API for Content. JavaScript library, QUnit tests and examples.
Stars: ✭ 128 (-92.07%)
Mutual labels:  api
Ajax Movie Recommendation System With Sentiment Analysis
Content-Based Recommender System recommends movies similar to the movie user likes and analyses the sentiments on the reviews given by the user for that movie.
Stars: ✭ 127 (-92.14%)
Mutual labels:  api
Taobaokeapi
淘宝客API演示
Stars: ✭ 128 (-92.07%)
Mutual labels:  api
Rust Slack
A rust crate for sending messages to Slack via webhooks
Stars: ✭ 128 (-92.07%)
Mutual labels:  slack
Pfsense Api
The missing REST API package for pfSense
Stars: ✭ 126 (-92.2%)
Mutual labels:  api

This repository is archived and will not receive any updates

It's time to say goodbye. I'm archiving Slacker. It's been getting harder to find time to maintain this project for a while now. For years it's been the most popular Python library for Slack. Eventually Slack decided to go with their library, and I lost my motivation to maintain it. Thank you all for your contributions to this project.

Slacker

pypi build status pypi downloads license gitter chat

https://raw.githubusercontent.com/os/slacker/master/static/slacker.jpg

About

Slacker is a full-featured Python interface for the Slack API.

Installation

$ pip install slacker

Examples

from slacker import Slacker

slack = Slacker('<your-slack-api-token-goes-here>')

# Send a message to #general channel
slack.chat.post_message('#general', 'Hello fellow slackers!')

# Get users list
response = slack.users.list()
users = response.body['members']

# Upload a file
slack.files.upload('hello.txt')

# If you need to proxy the requests
proxy_endpoint = 'http://myproxy:3128'
slack = Slacker('<your-slack-api-token-goes-here>',
                http_proxy=proxy_endpoint,
                https_proxy=proxy_endpoint)

# Advanced: Use `request.Session` for connection pooling (reuse)
from requests.sessions import Session
with Session() as session:
    slack = Slacker(token, session=session)
    slack.chat.post_message('#general', 'All these requests')
    slack.chat.post_message('#general', 'go through')
    slack.chat.post_message('#general', 'a single https connection')

Documentation

https://api.slack.com/methods

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].