
1) With some minor adjustments, it turned out exactly as I wanted. Thank you very much.
2) They developed an API for Raspberry Pi, but I could not find ready-made API codes for Windows on the internet or I could not find an API that would give such a code as in the first message
https://i.hizliresim.com/lqs8035.jpg
It works with nicehash api key. I obtained the necessary API key. I received the message showing that it works as in the picture below.

The BTC gain you see in the picture shows the correct gain. It means the api command is working. But when I enter this command in the browser; "https://www.nicehash.com/main/api/v2/accounting/account2/BTC" I get a 404 not found error. If I can pass this stage, I will handle the rest. I couldn't pass it. I will tinker with it again when I have free time. Thank you again and again.
Statistics: Posted by mtchannel — Yesterday, 7:51 pm