slackipycore
helps you invite users to your Slack team/channel using Python. slackipycore
is meant for advanced users and is written for slackipy
.
Check my project slackipy
.
slackipycore
is Python 3 only library.
pip install slackipycore
>>> from slackipycore import invite
>>> from slackipycore import AlreadyInTeam
>>>
Description: Invites email
to the Slack team. Returns True
if successful or raises one of the exceptions.
Parameters:
Name | Type | Required | Description |
---|---|---|---|
team_id |
string | Yes | Slack team id or subdomain |
api_token |
string | Yes | Slack API Token (of admin) |
invitee_email |
string | Yes | Email to which invite to be sent |
Description: Returns a dictionary which contains team name, id, team images etc
Parameters:
Name | Type | Required | Description |
---|---|---|---|
team_id |
string | Yes | Slack team id or subdomain |
api_token |
string | Yes | Slack API Token (of admin) |
Description: Returns a tuple containing two lists, a list containing info of all users and another list of currently online users.
Parameters:
Name | Type | Required | Description |
---|---|---|---|
team_id |
string | Yes | Slack team id or subdomain |
api_token |
string | Yes | Slack API Token (of admin) |
AlreadyInTeam
InvalidInviteeEmail
InvalidAuthToken
AlreadyInvited
APIRequestError
The mighty MIT license. Please check LICENSE
for more details.