-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.py
23 lines (18 loc) · 876 Bytes
/
config.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Copy this file to config.py and replace the values with your information
file_path = '/home/pi/photobooth/pics/' # path to save images
#############
## STEP 1 ###
#############
#First, enter the API_KEY and API_SECRET below.
#The api_key and api_secret can be obtained from http://www.flickr.com/services/api/keys/
api_key = u'enter_your_api_key_here'
api_secret = u'enter_your_api_secret_here'
#############
## STEP 2 ###
#############
#Then, run the following line of code in a terminal window: sudo python auth.py
#It will open a browser window and ask you to authorize on yahoo/flickr
#Go ahead and authorize. The result will be a page with a number.
#Type that number into the terminal session and press enter.
#If all goes well, you should have a new image in your Flickr feed.
#For more information, go here: http://stuvel.eu/media/flickrapi-docs/documentation/