Separating client id from app code
This commit is contained in:
parent
100a24bd77
commit
248aeca9ab
|
@ -0,0 +1,17 @@
|
|||
#
|
||||
# Copyright 2017, 2016 Laszlo Zeke
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
#
|
||||
|
||||
TWITCH_CLIENT_ID = 'Insert_key_here'
|
|
@ -22,8 +22,9 @@ import datetime
|
|||
import logging
|
||||
from feedformatter import Feed
|
||||
from google.appengine.api import memcache
|
||||
from app_id import TWITCH_CLIENT_ID
|
||||
|
||||
|
||||
TWITCH_CLIENT_ID = 'Insert_key_here'
|
||||
VODCACHE_PREFIX = 'vodcache'
|
||||
USERIDCACHE_PREFIX = 'userid'
|
||||
VOD_URL_TEMPLATE = 'https://api.twitch.tv/kraken/channels/%s/videos?broadcast_type=archive,highlight,upload'
|
||||
|
|
Loading…
Reference in New Issue