Commit Graph

8 Commits

Author SHA1 Message Date
Anna Schumaker f5af3107d5 slack: Begin API wrapper directory
I think this will make things easier to work with overall

Signed-off-by: Anna Schumaker <Anna@OcarinaProject.net>
2015-05-26 14:40:01 -04:00
Anna Schumaker 0892ec28e7 Use team name instead of [SlackMail] for temporary file paths
Signed-off-by: Anna Schumaker <Anna@OcarinaProject.net>
2015-05-26 14:00:36 -04:00
Anna Schumaker fdc2c9970e Write unread messages to a temporary file
Signed-off-by: Anna Schumaker <Anna@OcarinaProject.net>
2015-05-26 12:41:34 -04:00
Anna Schumaker 11a777cb76 Add timestamps to message output
Signed-off-by: Anna Schumaker <Anna@OcarinaProject.net>
2015-05-26 12:26:39 -04:00
Anna Schumaker a6ccb45f83 Fetch all unread messages from slack, along with user names
Signed-off-by: Anna Schumaker <Anna@OcarinaProject.net>
2015-05-26 11:39:26 -04:00
Anna Schumaker 9065d67acb Find channel info and print unread messages
Signed-off-by: Anna Schumaker <Anna@OcarinaProject.net>
2015-05-26 11:14:18 -04:00
Anna Schumaker 883504da38 Decode reply from slack into a python dictionary structure
Signed-off-by: Anna Schumaker <Anna@OcarinaProject.net>
2015-05-26 09:44:55 -04:00
Anna Schumaker 13050a1486 Initial commit
Call the api.test and auth.test methods using a token from the file
"token" in the current directory.

Signed-off-by: Anna Schumaker <Anna@OcarinaProject.net>
2015-05-26 09:25:29 -04:00