uparcel/config-sample.py

26 lines
644 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"