Skip to content

Instantly share code, notes, and snippets.

View YXGuan's full-sized avatar
🤖
LLMisINTRIGUING

Yuxiang Guan YXGuan

🤖
LLMisINTRIGUING
View GitHub Profile
from selenium import webdriver
import time
driver = webdriver.Chrome()
driver.get("https://maccheck.mcmaster.ca/")
time.sleep(5)
email = driver.find_element_by_id("i0116")
email.send_keys("") #Your email goes here
from selenium import webdriver
import time
import datetime
driver = webdriver.Chrome()
driver.get("https://macreconline.ca/")
login_button = driver.find_element_by_id("loginLink")
login_button.click()
@dotja
dotja / drf-api-swagger-doc.md
Last active June 17, 2024 08:18
Django REST Framework API documentation using Swagger

API Documentation with DRF and Swagger

Overview:

  • We need to create a schema. The schema outlines all the endpoints and actions of our API.

  • We need to create the documentation that is a more human-readable form of the schema.

Steps: