From bfd0f5197b8cf2a79f24f343a527e8ff51ff0fe9 Mon Sep 17 00:00:00 2001 From: Kenneth Reitz Date: Thu, 18 Jan 2024 12:44:56 -0500 Subject: [PATCH] Update NeonClient code examples --- README.md | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index f8f026b..1eca747 100644 --- a/README.md +++ b/README.md @@ -34,28 +34,28 @@ $ pip install neon-client >>> neon = NeonClient(api_key='your_api_key') ->>> # List all the API keys. +# List all the API keys. >>> api_keys = neon.api_keys() ->>> # Get a specific API key. +# Get a specific API key. >>> api_key = neon.api_key(api_key_id='your_api_key_id') ->>> # Get all the projects +# Get all the projects >>> projects = neon.projects() ->>> # Get a specific project +# Get a specific project >>> project = neon.project(project_id='your_project_id') ->>> # Get all the databases +# Get all the databases >>> databases = neon.databases() ->>> # Get a specific database +# Get a specific database >>> database = neon.database(database_id='your_database_id') ->>> # Get all the branches for a given database. +# Get all the branches for a given database. >>> branches = neon.branches(database_id='your_database_id') ->>> # Get a specific branch +# Get a specific branch >>> branch = neon.branch(database_id='your_database_id', branch_id='your_branch_id') ```