MahjongRepository / mahjong_soul_api

Python wrapper for the Mahjong Soul (Majsoul) Protobuf objects. It allows to use their API.
72 stars 10 forks source link

`error { code: 151 }` When trying to fetch log. #12

Closed shinkuan closed 1 year ago

shinkuan commented 1 year ago

I ran the following command: python example.py -u username -p password -l 230627-d1600703-bd73-46b6-8a8b-a8854bbb4ff9 but it shows:

2023-06-28 10:36:25 INFO: Found 0 game records
2023-06-28 10:36:25 INFO: game  result :

so I tried to print out what api fetched: I added print(res) to get the res here: https://github.com/MahjongRepository/mahjong_soul_api/blob/31fd0fe90d95b5b44d81ca78bf3456d11ccf4069/example.py#L132 I get:

error {
  code: 151
}

image