[text] M

Viewer

  1. import requests
  2.  
  3. # URL for the performance reports section
  4. performance_reports_url = 'https://toolkit.tesco.com/partner/reports/stored'
  5.  
  6. # Perform GET request to navigate to performance reports section
  7. response = requests.get(performance_reports_url)
  8.  
  9. # Check if request was successful
  10. if response.status_code == 200:
  11.     print("Successfully accessed the performance reports section.")
  12. else:
  13.     print("Failed to access the performance reports section. Status code:", response.status_code)

Editor

You can edit this paste and save as new:


File Description
  • M
  • Paste Code
  • 23 Apr-2024
  • 501 Bytes
You can Share it: