Obtain device key in sonoff LAN mode

Hello, I am aware that this is not an incident, but I need help and I think this is the best place to ask for it :slight_smile:

I have a few DualR3 and miniR4, I am currently connecting the DualR3 only by LAN to control them from a Raspberry Pi, but they do not have the DIY mode and I have to obtain the apikey manually by following these links:

SonoffLAN/README.md

So far, I have been able to program the following with python:

1./ I scan the entire network seeing the “itead” APs and connect to them by their SSID

2./ I do a GET to 192.168.1.1/device and I get something like this:

“data”:“kF9eB9Cn…wHjDklinIs=”

Which I assume is the coding for this:

{
“deviceid”:“10000xxxxx”,
“apikey”:“xxxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx”,
“accept”:“post”
}

the answer is… How can I decode the GET data?

Thank you very much in advance