Sirivennela commited on
Commit
0ca6729
·
verified ·
1 Parent(s): bb07ed1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -0
app.py CHANGED
@@ -3,6 +3,8 @@ import requests
3
  import pandas as pd
4
 
5
  # ---------------------- CONFIG ----------------------
 
 
6
  USERNAME = "[email protected]"
7
  PASSWORD = "Vedavathi@04"+"qe4His8AcuFJucZz5NBHfGU"
8
  TOKEN_URL = "https://login.salesforce.com/services/oauth2/token"
@@ -13,6 +15,8 @@ API_VERSION = "v60.0"
13
  def get_salesforce_token():
14
  data = {
15
  "grant_type": "password",
 
 
16
  "username": "[email protected]",
17
  "password": "Vedavathi@04"
18
  }
 
3
  import pandas as pd
4
 
5
  # ---------------------- CONFIG ----------------------
6
+ CLIENT_ID = "YOUR_CLIENT_ID"
7
+ CLIENT_SECRET = "YOUR_CLIENT_SECRET"
8
  USERNAME = "[email protected]"
9
  PASSWORD = "Vedavathi@04"+"qe4His8AcuFJucZz5NBHfGU"
10
  TOKEN_URL = "https://login.salesforce.com/services/oauth2/token"
 
15
  def get_salesforce_token():
16
  data = {
17
  "grant_type": "password",
18
+ CLIENT_ID = "YOUR_CLIENT_ID"
19
+ CLIENT_SECRET = "YOUR_CLIENT_SECRET"
20
  "username": "[email protected]",
21
  "password": "Vedavathi@04"
22
  }