You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
453 B
Python
17 lines
453 B
Python
from api import *
|
|
|
|
if __name__ == "__main__":
|
|
# products_json = get_products()
|
|
# print(json.dumps(products_json, ensure_ascii=False, indent=2))
|
|
#
|
|
# product1_json = get_product(1)
|
|
# print(json.dumps(product1_json, ensure_ascii=False, indent=2))
|
|
|
|
try:
|
|
# registration("Vasya1", "Vasya2005", "vasili_pupkin@gmail.com")
|
|
print(login("vasili_pupkin@gmail.com", "Vasy2005"))
|
|
|
|
except Exception as e:
|
|
print(e)
|
|
|