This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import requests | |
import datetime | |
# Simply call get_record and it will return a json object containing your bill. | |
# Replace them with your credentials. You can get all these credentials by capturing packets from WeChat app when viewing your bill. Hint: Surge.app can be very helpful. | |
exportkey = "xxxxxx" | |
cookie = "export_key=xxxxx; userroll_pass_ticket=xxxxxx" | |
last_id = "xxxxx" |