Last active
March 20, 2017 05:28
-
-
Save fourohfour/47b0880ea22e585d4ce277357139b75c to your computer and use it in GitHub Desktop.
simple script for VEXDB
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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