Skip to content

Instantly share code, notes, and snippets.

@fourohfour
Last active March 20, 2017 05:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fourohfour/47b0880ea22e585d4ce277357139b75c to your computer and use it in GitHub Desktop.
Save fourohfour/47b0880ea22e585d4ce277357139b75c to your computer and use it in GitHub Desktop.
simple script for VEXDB
import requests
params = {"country": "United Kingdom", "grade": "High school"}
r = requests.get("https://api.vexdb.io/v1/get_teams", params = params)
j = r.json()
if j["status"] == 1:
print(len(j["result"]))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment