瀏覽代碼

Removing sample script

David Leonard 10 年之前
父節點
當前提交
abf8497126
共有 2 個文件被更改,包括 0 次插入11 次删除
  1. 0 1
      hackathon_starter/hackathon/scripts/github.py
  2. 0 10
      hackathon_starter/hackathon/scripts/samplescript.py

+ 0 - 1
hackathon_starter/hackathon/scripts/github.py

@@ -11,7 +11,6 @@ import simplejson as json
 ########################
 
 API_BASE_URL = 'https://api.github.com/users/DrkSephy'
-#API_USERS_URL = API_BASE_URL + 'users/DrkSephy' + '?client_id=2404a1e21aebd902f6db' + '&client_secret=3da44769d4b7c9465fa4c812669148a163607c23'
 
 def getUserData(clientID, clientSecret):
 	'''Get generic Github User data.'''

+ 0 - 10
hackathon_starter/hackathon/scripts/samplescript.py

@@ -1,10 +0,0 @@
-# Sample dummy script
-# This script is just to create this directory
-import requests
-
-def getSomeData(url):
-	# Get some data
-	req = requests.get(url) 
-	# Print the JSON
-	print req.json
-	return req