-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathsettings.py
57 lines (44 loc) · 1.71 KB
/
settings.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
import os
import datetime
APP_ROOT_DIR = os.path.abspath(os.path.dirname(__file__))
SETTINGS = {
# Company name appears on the admin page
"company_name": "<<My iPhone Company>>",
# Currency you would like your daily income revenue figures to be converted to
"base_currency": "AUD",
# This must be the email address of a registered administrator for the application due to mail API restrictions
"admin_email_address": "My Name <[email protected]>",
# Don't change these
"template_path": APP_ROOT_DIR + '/templates/',
"upload_form_name": "file_upload",
}
ACCOUNTS = {
# Your iTunes Connect credentials for the cron job to log in and download your reports daily
# You can specify more than 1 account
"<< Arbitrary account name >>": {
"itunesconnect_username": "<<username>>",
"itunesconnect_password": "<<password>>",
}
}
PRODUCTS = {
# SKU of the app when you uploaded it to the App Store
"<<SKU>>": {
# Human-readable app name which corresponds to the above SKU
"name": "<<app name>>",
# App ID (can be found from the GET param of your iTunes URL i.e. ?id=xxxxxxxxx)
"app_id": "<<app id>>",
# Make sure your category name and corresponding ID exists in jobs/app_store_codes.py
"category_name": "<<category name>>",
# Is your app free?
"paid": False,
# Is your app for iPhone or iPad?
"iPad": False,
# List of dictionaries which represent the human-readable version number and the date the version was released on the App Store
"versions": [{'name': 'v1.0', 'date': datetime.date(2009, 6, 22)},
{'name': 'v1.1', 'date': datetime.date(2009, 7, 18)}],
# List of email addresses you would like the daily reports sent to
"to_addresses": [
'Recipient Name <[email protected]>',
]
}
}