Spaces:
Sleeping
Sleeping
Commit
·
ebe5005
1
Parent(s):
7634104
Update app.py
Browse files
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=
|
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,
|