Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /command laugh
- /command repeat
- /command read
- [
- {
- "title": "Project 1",
- "description": "Projects for x",
- "members": [
- {
- "minutes_last_week": 0,
- "latest_activity": "1514",
- "id": 7,
- "minutes_today": 0,
- "minutes_total": 300,
- "last_name": "OLAJS",
- "first_name": "XXXX"
- },
- {
- "minutes_last_week": 0,
- "latest_activity": "1516645564",
- "id": 23,
- "minutes_today": 0,
- "minutes_total": 1620,
- "last_name": "XJKD",
- "first_name": "SKDJND"
- },
- ]
- class NewCommand(CommandMixin, slack.Command):
- def execute(self, request):
- response = requests.get('http://project.herokuapp.com/api/v1/activities/?format=json', auth=('xxxx','xxxx'))
- apiresponse = response.json()
- self.send_response('newcommand')
Add Comment
Please, Sign In to add comment