Project Related API
My team's project is a program that contains features similar to the clock app on iphone. Some of these features include an alarm, stopwatch, timezones for different locations (and current location), and most importantly, the current time. With this API I show how an API can be used for the timezone aspect of our group's program
import requests
url = "https://world-time2.p.rapidapi.com/ip/75.6.164.211.txt"
headers = {
"X-RapidAPI-Key": "f56b20ef1cmsh82a127be1b400c6p1e21bcjsn093efcf02b8f",
"X-RapidAPI-Host": "world-time2.p.rapidapi.com"
}
response = requests.request("GET", url, headers=headers)
print(response.text)