|
|
@@ -23,6 +23,7 @@ from scripts.twitter import TwitterOauthClient
|
|
|
from scripts.nytimes import *
|
|
|
from scripts.meetup import *
|
|
|
from scripts.linkedin import LinkedInAPI
|
|
|
+from scripts.yelp import requestData
|
|
|
|
|
|
# Python
|
|
|
import oauth2 as oauth
|
|
|
@@ -140,6 +141,15 @@ def facebook(request):
|
|
|
yourappid = '364831617044713'
|
|
|
return render(request, 'hackathon/facebook.html', { 'yourappid' : yourappid })
|
|
|
|
|
|
+
|
|
|
+#################
|
|
|
+# YELP API #
|
|
|
+#################
|
|
|
+
|
|
|
+def yelp(request):
|
|
|
+ data = requestData()
|
|
|
+ return render(request, 'hackathon/yelp.html', { 'data': data })
|
|
|
+
|
|
|
#################
|
|
|
# MEETUP API #
|
|
|
#################
|