32 lines
871 B
Python
32 lines
871 B
Python
# MongoDB Database parameters
|
|
|
|
CONNECTION_STRING = "mongodb://user:pass@mongoserver:27017/database"
|
|
DATABASE = "uparcel"
|
|
COLLECTION = "job-status-log"
|
|
|
|
# uParcel API parameter
|
|
|
|
api_key = "YOUR API KEY"
|
|
secret_key = "YOUR API SECRET KEY"
|
|
domain = "YOUR APP DOMAIN"
|
|
base_url = "https://stg.uparcel.sg/"
|
|
web_hook = "YOUR WEBHOOK URL"
|
|
default_delivery_type = 3
|
|
default_weight = 12
|
|
default_length = 31
|
|
default_width = 25
|
|
default_height = 23
|
|
default_sender = "John Doe"
|
|
default_sender_number = "12345678"
|
|
default_pickup_address = "1 Scotts Road, Singapore 228208"
|
|
default_pickup_pincode = "228208"
|
|
default_pickup_remark = ""
|
|
default_vehicle = "all"
|
|
default_delivery_name = "Lisa Doe"
|
|
default_delivery_number = "87654321"
|
|
default_delivery_email = ""
|
|
default_delivery_address = "2 Orchard Turn, Singapore 238801"
|
|
default_delivery_pincode = "238801"
|
|
default_delivery_remark = ""
|
|
|