- Install Tampermonkey / Greasemonkey(Firefox)
- Click this link and install
- Visit any shopee.tw domain
- In the right-click menu, select Export Shopee Orders to JSON
- Now you can do JSON manipulation with jq like: Oh shit
Some useful jq
queries
- Show total money spent:
jq '[.[] | .info_card.final_total] | add | . / 100000'
- Total order price(without the shipping fee):
jq '[.[] | .info_card.order_list_cards | .[] | .items | .[] | .order_price * .amount] | add | . / 100000'
- Combine these two, then you got the shipping fee:
jq '. as $parent | [.[] | .info_card.order_list_cards | .[] | .items | .[] | .order_price * .amount] | add | . / 100000 | . as $raw_total | $parent | [.[] | .info_card.final_total] | add | . / 100000 | . as $total | $total - $raw_total'