Skip to content

Commit b3a4227

Browse files
author
Jim Ray
committed
Fixed some broken links in README
1 parent c75dc27 commit b3a4227

1 file changed

Lines changed: 27 additions & 21 deletions

File tree

README.md

Lines changed: 27 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,16 @@
11
# Python slackclient
2+
23
The Python slackclient is a developer kit for interfacing with the Slack Web API and Real Time Messaging (RTM) API on Python 3.6 and above.
34

5+
**Comprehensive documentation on using the Slack Python can be found at [https://slack.dev/python-slackclient/](https://slack.dev/python-slackclient/)**
6+
47
[![pypi package][pypi-image]][pypi-url]
58
[![Build Status][travis-image]][travis-url]
69
[![Build Status][windows-build-status]][windows-build-url]
710
[![Python Version][python-version]][pypi-url]
811
[![codecov][codecov-image]][codecov-url]
912
[![contact][contact-image]][contact-url]
1013

11-
1214
Whether you're building a custom app for your team, or integrating a third party service into your Slack workflows, Slack Developer Kit for Python allows you to leverage the flexibility of Python to get your project up and running as quickly as possible.
1315

1416
The **Python slackclient** allows interaction with:
@@ -18,28 +20,29 @@ The **Python slackclient** allows interaction with:
1820

1921
If you want to use our [Events API][events-docs], please check the [Slack Events API adapter for Python][python-slack-events-api].
2022

21-
Details on the Tokens and Authentication can be found in our [Auth Guide][auth-guide].
23+
Details on the Tokens and Authentication can be found in our [Auth Guide][https://slack.dev/python-slackclient/auth.html].
2224

2325
## Table of contents
2426

25-
* [Requirements](#requirements)
26-
* [Installation](#installation)
27-
* [Getting started tutorial](#getting-started-tutorial)
28-
* [Basic Usage of the Web Client](#basic-usage-of-the-web-client)
29-
* [Sending a message to Slack](#sending-a-message-to-slack)
30-
* [Uploading files to Slack](#uploading-files-to-slack)
31-
* [Basic Usage of the RTM Client](#basic-usage-of-the-rtm-client)
32-
* [Advanced Options](#advanced-options)
33-
* [Migrating from v1.x](#migrating-from-v1)
34-
* [Support](#support)
27+
- [Requirements](#requirements)
28+
- [Installation](#installation)
29+
- [Getting started tutorial](#getting-started-tutorial)
30+
- [Basic Usage of the Web Client](#basic-usage-of-the-web-client)
31+
- [Sending a message to Slack](#sending-a-message-to-slack)
32+
- [Uploading files to Slack](#uploading-files-to-slack)
33+
- [Basic Usage of the RTM Client](#basic-usage-of-the-rtm-client)
34+
- [Advanced Options](#advanced-options)
35+
- [Migrating from v1.x](#migrating-from-v1)
36+
- [Support](#support)
3537

3638
### Requirements
39+
3740
---
41+
3842
This library requires Python 3.6 and above. If you require Python 2, please use our [SlackClient - v1.x][slackclientv1]. If you're unsure how to check what version of Python you're on, you can check it using the following:
3943

4044
> **Note:** You may need to use `python3` before your commands to ensure you use the correct Python path. e.g. `python3 --version`
4145
42-
4346
```bash
4447
python --version
4548

@@ -52,23 +55,23 @@ python3 --version
5255

5356
We recommend using [PyPI][pypi] to install the Slack Developer Kit for Python.
5457

55-
5658
```bash
5759
pip3 install slackclient==2.0.0
5860
```
5961

6062
### Getting started tutorial
63+
6164
---
6265

6366
We've created this [tutorial](/tutorial) to build a basic Slack app in less than 10 minutes. It requires some general programming knowledge, and Python basics. It focuses on the interacting with Slack's Web and RTM API. Use it to give you an idea of how to use this SDK.
6467

6568
**[Read the tutorial to get started!](/tutorial)**
6669

6770
### Basic Usage of the Web Client
68-
---
6971

70-
Slack provide a Web API that gives you the ability to build applications that interact with Slack in a variety of ways. This Development Kit is a module based wrapper that makes interaction with that API easier. We have a basic example here with some of the more common uses but a full list of the available methods are available [here][api-methods]. More detailed examples can be found in our [Basic Usage][basic-usage] guide
72+
---
7173

74+
Slack provide a Web API that gives you the ability to build applications that interact with Slack in a variety of ways. This Development Kit is a module based wrapper that makes interaction with that API easier. We have a basic example here with some of the more common uses but a full list of the available methods are available [here][api-methods]. More detailed examples can be found in our [Basic Usage][https://slack.dev/python-slackclient/basic_usage.html] guide
7275

7376
#### Sending a message to Slack
7477

@@ -89,7 +92,6 @@ One of the most common use-cases is sending a message to Slack. If you want to s
8992

9093
Here we also ensure that the response back from Slack is a successful one and that the message is the one we sent by using the `assert` statement.
9194

92-
9395
#### Uploading files to Slack
9496

9597
We've changed the process for uploading files to Slack to be much easier and straight forward. You can now just include a path to the file directly in the API call and upload it that way. You can find the details on this api call [here][files.upload]
@@ -107,6 +109,7 @@ We've changed the process for uploading files to Slack to be much easier and str
107109
```
108110

109111
### Basic Usage of the RTM Client
112+
110113
---
111114

112115
The [Real Time Messaging (RTM) API][rtm-docs] is a WebSocket-based API that allows you to receive events from Slack in real time and send messages as users.
@@ -154,36 +157,39 @@ The Python slackclient v2 now uses [AIOHttp][aiohttp] under the hood so it allow
154157
```python
155158
import os
156159
import slack
157-
160+
158161
client = slack.WebClient(token=os.environ['SLACK_API_TOKEN'], ssl=sslcert, proxy=proxyinfo)
159162

160163
```
161164

162165
We will always follow the standard process in AIOHttp for those proxy and SSL settings so for more information, check out their documentation page linked [here][aiohttp].
163166

164167
### Migrating from v1
168+
165169
---
166-
If you're migrating from v1.x of slackclient to v2.x, Please follow our migration guide to ensure your app continues working after updating.
170+
171+
If you're migrating from v1.x of slackclient to v2.x, Please follow our migration guide to ensure your app continues working after updating.
167172

168173
**[Check out the Migration Guide here!](https://github.com/slackapi/python-slackclient/wiki/Migrating-to-2.x)**
169174

170175
### Support
176+
171177
---
172178

173179
If you get stuck, we’re here to help. The following are the best ways to get assistance working through your issue:
174180

175181
Use our [Github Issue Tracker][gh-issues] for reporting bugs or requesting features.
176182
Visit the [Bot Developer Hangout][bd-hangout] for getting help using Slack Developer Kit for Python or just generally bond with your fellow Slack developers.
177183

178-
179184
<!-- Markdown links -->
185+
180186
[pypi-image]: https://badge.fury.io/py/slackclient.svg
181187
[pypi-url]: https://pypi.python.org/pypi/slackclient
182188
[windows-build-status]: https://ci.appveyor.com/api/projects/status/rif04t60ptslj32x/branch/master?svg=true
183189
[windows-build-url]: https://ci.appveyor.com/project/slackapi/python-slackclient
184190
[travis-image]: https://travis-ci.org/slackapi/python-slackclient.svg?branch=master
185191
[travis-url]: https://travis-ci.org/slackapi/python-slackclient
186-
[python-version]: https://img.shields.io/pypi/pyversions/slackclient.svg
192+
[python-version]: https://img.shields.io/pypi/pyversions/slackclient.svg
187193
[codecov-image]: https://codecov.io/gh/slackapi/python-slackclient/branch/master/graph/badge.svg
188194
[codecov-url]: https://codecov.io/gh/slackapi/python-slackclient
189195
[contact-image]: https://img.shields.io/badge/contact-support-green.svg

0 commit comments

Comments
 (0)