From 59ff61544d128b417214ee366414ec7503894852 Mon Sep 17 00:00:00 2001 From: StevanFreeborn Date: Tue, 3 May 2022 11:33:59 -0500 Subject: [PATCH] update README.md --- README.md | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 9b1cf6e..1e0fe64 100644 --- a/README.md +++ b/README.md @@ -212,17 +212,13 @@ def PrintField(field: Field): #### Get Field By Id -Returns a paged collection of apps and/or surveys that can be paged through. By default the page size is 50 and page number is 1. +Returns an Onspring field according to provided id. ```python response = client.GetFieldById(9686) print(f'Status Code: {response.statusCode}') - -if response.isSuccessful: - PrintField(response.data.field) -else: - print(f'Message: {response.message}') +PrintField(response.data.field) ``` #### Get Fields By Ids