get_user_data#
Query | API Key Required
Returns the authenticated user’s email, credit balance, and remaining clicks count for the current billing period.
from dlubal.api import geo_zone_tool
geo_zone = geo_zone_tool.GeoZoneTool("<your-token>")
user = geo_zone.get_user_data()
print(user)
using GeoZoneTool;
using var client = new GeoZone("your-token");
var user = await client.GetUserDataAsync();
Console.WriteLine(user?.Email ?? "no user");
query {
getUserData {
email
clicks
}
}
Response#
Returns UserDataType.
Field |
Type |
Description |
|---|---|---|
|
str |
Account email address |
|
int |
Remaining API calls this billing period |