post https://keyauth.win/api/1.2/?type=fetchStats&name=&ownerid=&sessionid=
You must run this before fetching any app/user data.
Code Example
KeyAuthApp.fetchStats();
KeyAuthApp.fetchstats();
keyauthapp.fetchStats()
await KeyAuthApp.fetchStats();
/* C# Example */
KeyAuthApp.fetchstats();
if (!KeyAuthApp.data.success) {
Console.WriteLine("failed fetching stats");
} else if (KeyAuthApp.data.success) {
Console.WriteLine("successfully fetched stats");
}
/* C++ Example */
KeyAuthApp.fetchstats();
if (!KeyAuthApp.data.success) {
std::cout << "failed fetching stats";
} else if (KeyAuthApp.data.success) {
std::cout << "successfully fetched stats";
}
/* Python Example */
keyauthapp.fetch_stats()
if not keyauthapp.app_data.success:
print("failed fetching stats")
elif keyauthapp.app_data.success:
print("successfully fetched stats")