8000 GitHub - supernoveau/inspire-me: Slack bot that responds to interaction with inspring photographs sourced from Unsplash API
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Slack bot that responds to interaction with inspring photographs sourced from Unsplash API

Notifications You must be signed in to change notification settings

supernoveau/inspire-me

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Overview

Slack bot that responds to interaction with inspring photographs sourced from Unsplash API.

Usage

Create config.py file with Slack and Unsplash app constants.
Create users.db file to store the SQLite user table.

# Unsplash constants
UNSPLASH = {
  'application_id': '<insert-application-id>',
  'application_secret': '<insert-application-secret>',
  'callback_url': 'urn:ietf:wg:oauth:2.0:oob'
}

# Slack bot constants
SLACK = {
  'client_name': 'inspire-me',
  'client_id': '<insert-client-id>',
  'client_secret': '<insert-client-secret>',
  'scope': 'bot+chat%3Awrite%3Abot'
}

Install in virtualenv with modules from requirements.txt. python3 app.py to run OAuth routes and bot.

About

Slack bot that responds to interaction with inspring photographs sourced from Unsplash API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

0