mirror of
https://gitlab.com/moepoi/Quintal-Grabber.git
synced 2024-11-14 10:26:44 +01:00
update examples and added something
This commit is contained in:
parent
61e6541b39
commit
30fa210a39
2 changed files with 5 additions and 2 deletions
|
@ -5,4 +5,7 @@ data = Quintal(id).studentinfo()
|
||||||
username = data[1]
|
username = data[1]
|
||||||
name = data[2] + data[3]
|
name = data[2] + data[3]
|
||||||
email = data[4]
|
email = data[4]
|
||||||
print ("Username : {}\nName : {}\nEmail : {}".format(str(username), str(name), str(email)))
|
address = data[7]
|
||||||
|
profilephoto = data[11]
|
||||||
|
grade = data[14]
|
||||||
|
print ("Username : {}\nName : {}\nEmail : {}\nAddress : {}\nClass : {}\nProfile photo : {}".format(str(username), str(name), str(email), str(address), str(grade), str(profilephoto)))
|
||||||
|
|
|
@ -22,7 +22,7 @@ class Quintal(object):
|
||||||
city = data["student_class_semester"]["profile"]["city"]
|
city = data["student_class_semester"]["profile"]["city"]
|
||||||
province = data["student_class_semester"]["profile"]["province"]
|
province = data["student_class_semester"]["profile"]["province"]
|
||||||
country = data["student_class_semester"]["profile"]["country"]
|
country = data["student_class_semester"]["profile"]["country"]
|
||||||
profilephoto = data["student_class_semester"]["profile"]["profile_photo"]
|
profilephoto = self.host + data["student_class_semester"]["profile"]["profile_photo"]
|
||||||
birthdate = data["student_class_semester"]["profile"]["birth_date"]
|
birthdate = data["student_class_semester"]["profile"]["birth_date"]
|
||||||
sectionname = data["student_class_semester"]["section_name"]
|
sectionname = data["student_class_semester"]["section_name"]
|
||||||
gradename = data["student_class_semester"]["grade_name"]
|
gradename = data["student_class_semester"]["grade_name"]
|
||||||
|
|
Loading…
Reference in a new issue