diff --git a/examples/real_airtag.py b/examples/airtag.py similarity index 95% rename from examples/real_airtag.py rename to examples/airtag.py index 310e98b..67b1dfe 100644 --- a/examples/real_airtag.py +++ b/examples/airtag.py @@ -36,11 +36,10 @@ def main(airtag_path: Path) -> int: airtag = FindMyAccessory.from_json(airtag_path) # Step 1: log into an Apple account - print("Logging into account") acc = get_account_sync(STORE_PATH, ANISETTE_SERVER, ANISETTE_LIBS_PATH) + print(f"Logged in as: {acc.account_name} ({acc.first_name} {acc.last_name})") # step 2: fetch reports! - print("Fetching location") location = acc.fetch_location(airtag) # step 3: print 'em