Skip to content

Commit

Permalink
Card
Browse files Browse the repository at this point in the history
  • Loading branch information
FLAK-ZOSO committed Jun 19, 2022
1 parent 6fc09d5 commit 1856142
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 1 deletion.
21 changes: 21 additions & 0 deletions Card/card.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# Response
```json
{
"card": {
"ident": "S8733880I",
"usrType": "S",
"usrId": 8733880,
"miurSchoolCode": "VIPS02000T",
"miurDivisionCode": "VIPS02000T",
"firstName": "NOME",
"lastName": "COGNOME",
"birthDate": "YYYY-MM-DD",
"fiscalCode": "MRCMTT06T31H783Z",
"schCode": "VILS0001",
"schName": "LICEO SCIENTIFICO STATALE ",
"schDedication": "\" P. LIOY \"",
"schCity": "VICENZA",
"schProv": "VI"
}
}
```
2 changes: 1 addition & 1 deletion Test.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def password_():
).json())
'''
print(json.dumps(requests.get(
"https://web.spaggiari.eu/rest/v1/students/{}/schoolbooks".format(
"https://web.spaggiari.eu/rest/v1/students/{}/card".format(
id_().removeprefix("S"),
),
headers=i_
Expand Down

0 comments on commit 1856142

Please sign in to comment.