Danial7 commited on
Commit
32f09b2
·
verified ·
1 Parent(s): 6aa3cc8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -12,8 +12,8 @@ def get_amadeus_token():
12
  url = "https://test.api.amadeus.com/v1/security/oauth2/token"
13
  data = {
14
  "grant_type": "client_credentials",
15
- "client_id": Airfare_App,
16
- "client_secret": nqDbIdh1vuaB1TBj,
17
  }
18
  response = requests.post(url, data=data)
19
  return response.json().get("access_token")
 
12
  url = "https://test.api.amadeus.com/v1/security/oauth2/token"
13
  data = {
14
  "grant_type": "client_credentials",
15
+ "client_id": API_KEY,
16
+ "client_secret": API_SECRET,
17
  }
18
  response = requests.post(url, data=data)
19
  return response.json().get("access_token")