API
Using API towards Final Project
API Usage
Through using the currency conversion API I can implement an ability for travelers to have a useful utility which is a big market for our game which will allow them to gain added functionality from our program. It may also server as an aid to the upcoming microtransaction and paid DLC we may wish to add to expand the project profitablity such as the possiblity of Minesweeper skins and a Minesweeper Battle Pass. However, this may not be implemented.
import requests
url = "https://exchangerate-api.p.rapidapi.com/rapid/latest/USD"
headers = {
"X-RapidAPI-Key": "ec6edae9b8msh021a4b906297b9bp13ff74jsn1b271e386f87",
"X-RapidAPI-Host": "exchangerate-api.p.rapidapi.com"
}
response = requests.request("GET", url, headers=headers)
print(response.text)