File tree Expand file tree Collapse file tree 2 files changed +5
-9
lines changed Expand file tree Collapse file tree 2 files changed +5
-9
lines changed Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ In Python, this would look like:
50
50
# !/usr/bin/python3
51
51
# Name: Get submissions
52
52
# By Robbert Gurdeep Singh
53
- # ###############################################################################
53
+ # #####################################################################
54
54
TOKEN = " TOKEN HERE"
55
55
56
56
@@ -62,9 +62,7 @@ headers = {
62
62
" Authorization" : TOKEN
63
63
}
64
64
65
- conn.request(" GET" ,
66
- " /nl/submissions.json" ,
67
- headers = headers)
65
+ conn.request(" GET" , " /en/submissions.json" , headers = headers)
68
66
res = conn.getresponse()
69
67
print (res.status, res.reason)
70
68
data = res.read()
Original file line number Diff line number Diff line change @@ -44,13 +44,13 @@ curl \
44
44
" https://dodona.ugent.be/nl/submissions.json"
45
45
```
46
46
47
- In Python, ziet dit er als volgt uit:
47
+ In Python ziet dit er als volgt uit:
48
48
49
49
``` python
50
50
# !/usr/bin/python3
51
51
# Name: Get submissions
52
52
# By Robbert Gurdeep Singh
53
- # ###############################################################################
53
+ # #####################################################################
54
54
TOKEN = " TOKEN HERE"
55
55
56
56
@@ -62,9 +62,7 @@ headers = {
62
62
" Authorization" : TOKEN
63
63
}
64
64
65
- conn.request(" GET" ,
66
- " /nl/submissions.json" ,
67
- headers = headers)
65
+ conn.request(" GET" , " /nl/submissions.json" , headers = headers)
68
66
res = conn.getresponse()
69
67
print (res.status, res.reason)
70
68
data = res.read()
You can’t perform that action at this time.
0 commit comments