update README.md

This commit is contained in:
StevanFreeborn
2022-05-03 11:08:19 -05:00
parent c279e315f7
commit 6637b6da8a
+14
View File
@@ -138,6 +138,8 @@ for app in response.data.apps:
### Get App By Id
Returns an Onspring app or survey according to provided id.
```python
response = client.GetAppById(appId)
@@ -149,7 +151,19 @@ response = client.GetAppById(appId)
### Get Apps By Ids
Returns a collection of Onspring apps and/or surveys according to provided ids.
```python
appIds = [1,2,3,4,5]
response = client.GetAppsByIds(appIds)
print(f'Status Code: {response.statusCode}')
print(f'Count: {response.data.count}')
for app in response.data.apps:
print(f'Id: {app.id}')
print(f'Name: {app.name}')
print(f'href: {app.href}')
```
### Get Field By Id