Skip to content

Commit

Permalink
remind them to change the key
Browse files Browse the repository at this point in the history
  • Loading branch information
markwilkinson committed Jul 31, 2024
1 parent f125f6d commit dcf45f9
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions content/FLAIR-GG/count.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -57,13 +57,18 @@
"source": [
"import io\n",
"import array\n",
"import sys\n",
"\n",
"key = \"XXXXXXXXX\" # your secret key from the FLAIR-GG Virtual Platform\n",
"\n",
"\n",
"url = \"https://bgv.cbgp.upm.es/DAV/home/LDP/{}\".format(key)\n",
"\n",
"\n",
"if key == \"X\":\n",
" sys.exit(\"you didn't change the key!\")\n",
"\n",
"\n",
"response = requests.get(url)\n",
"response = json.loads(response.content)\n",
"# print(response)\n",
Expand Down

0 comments on commit dcf45f9

Please sign in to comment.