update README.md

This commit is contained in:
StevanFreeborn
2022-05-03 11:33:59 -05:00
parent 9c12ed378e
commit 59ff61544d
+2 -6
View File
@@ -212,17 +212,13 @@ def PrintField(field: Field):
#### Get Field By Id #### 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 ```python
response = client.GetFieldById(9686) response = client.GetFieldById(9686)
print(f'Status Code: {response.statusCode}') print(f'Status Code: {response.statusCode}')
PrintField(response.data.field)
if response.isSuccessful:
PrintField(response.data.field)
else:
print(f'Message: {response.message}')
``` ```
#### Get Fields By Ids #### Get Fields By Ids