David Leonard пре 10 година
родитељ
комит
379ab756ff
1 измењених фајлова са 10 додато и 0 уклоњено
  1. 10 0
      hackathon_starter/hackathon/scripts/samplescript.py

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

@@ -0,0 +1,10 @@
+# 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