joshuadunlop commited on
Commit
ebe5005
·
1 Parent(s): 7634104

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -8,7 +8,7 @@ import csv
8
  from io import StringIO
9
 
10
  # Function to fetch data from ShareASale
11
- def fetch_shareasale_data(action_verb, affiliate_id, api_token, api_secret_key, api_version=1.4):
12
  my_timestamp = strftime("%a, %d %b %Y %H:%M:%S +0000", gmtime())
13
  data = parse.urlencode({
14
  'affiliateId': affiliate_id,
 
8
  from io import StringIO
9
 
10
  # Function to fetch data from ShareASale
11
+ def fetch_shareasale_data(action_verb, affiliate_id, api_token, api_secret_key, api_version=2.4):
12
  my_timestamp = strftime("%a, %d %b %Y %H:%M:%S +0000", gmtime())
13
  data = parse.urlencode({
14
  'affiliateId': affiliate_id,