import requests
# set api getway
api_url = "https://the-gateway.com"
# set endpoint and param
endpoint = "/your-api-endpoint"
params = {"param1": "value1", "param2": "value2"}
# send request to api
response = requests.get(api_url + endpoint, params=params)
# print the responst from the server
print(response.text)
"""This code sends a request to a specific website using the "GET" method.
It includes information about the specific part of the website you want
to access "endpoint" and any additional details you want to include "parameters".
The website will respond, and the response will be printed in the console.
You can also use this code to send different types of requests to the website,
such as "POST", "PUT", and "DELETE", by replacing "GET" with the appropriate method."""