diff --git a/README.md b/README.md index e17d808..30fa348 100644 --- a/README.md +++ b/README.md @@ -14,13 +14,13 @@ pip install keychain_access import keychain_access # Store a password -keychain_access.set_password('my_service', 'my_account', 'my_password') +keychain_access.set('my_service', 'my_account', 'my_password') # Retrieve a password -password = keychain_access.get_password('my_service', 'my_account') +password = keychain_access.get('my_service', 'my_account') # Delete a password -keychain_access.delete_password('my_service', 'my_account') +keychain_access.delete('my_service', 'my_account') ``` ## License diff --git a/keychain_access/__init__.py b/keychain_access/__init__.py index b9c0f0d..8179335 100644 --- a/keychain_access/__init__.py +++ b/keychain_access/__init__.py @@ -4,13 +4,13 @@ import keychain_access # Store a password -keychain_access.set_password("my_service", "my_account", "my_password") +keychain_access.set("my_service", "my_account", "my_password") # Retrieve a password -password = keychain_access.get_password("my_service", "my_account") +password = keychain_access.get("my_service", "my_account") # Delete a password -keychain_access.delete_password("my_service", "my_account") +keychain_access.delete("my_service", "my_account") ``` """