Skip to content

Instantly share code, notes, and snippets.

@dresdain
Last active September 15, 2020 03:25
Show Gist options
  • Save dresdain/a26335a56978ae78e99f62c17d0cd21d to your computer and use it in GitHub Desktop.
Save dresdain/a26335a56978ae78e99f62c17d0cd21d to your computer and use it in GitHub Desktop.
DBS EMP

DBS EMP

parameter type condition description values examples
external boolean required parameter is required to trigger overlay true ?external=true
monthly integer optional,
default (101 - 150)
monthly electricity bill costs,
script will automatically determine which range
range 0 - 500 in SGD &monthly=57
living string optional,
default (hdb_4_room)
specify dwelling type hdb_1_room,
hdb_2_room,
hdb_3_room,
hdb_4_room,
hdb_5_room,
hdb_executive,
hudc_flat,
terrace_house,
condominium,
semi_detached_house,
private_aparment,
bungalow,
penthouse,
townhouse
&living=hdb_4_room
retailer string/array Filter option,
Cannot be combined
with other filter options,
optional,
default (all)
enter retailer id(s),
for multiple retailers, add comma
bestelectricity,
geneco,
iswitch,
keppel,
pacificlight,
sunseap,
tuaspower,
unionpower
&retailer=geneco,iswitch
rate string Filter option,
Cannot be combined
with other filter options,
optional,default (all)
Specify rate type all,
discounted,
fixed
&rate=discounted
ecofriendly string Filter option,
Cannot be combined
with other filter options,
optional,default (yes)
Set if show ecofriendly plans only yes &ecofriendly=yes
sort string Sorting option,
optional, default (savings)
Sort plans on load savings,
contract,
name
&sort=savings
activity string Can be combined with other filter options Only displays plans tagged under the specified activity name any string &activity=name_of_activity