You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jul 3, 2023. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+28-1Lines changed: 28 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,6 +14,7 @@ Python Client wrapper for [Typeform API](https://developer.typeform.com/)
14
14
-[Forms](#forms)
15
15
-[Responses](#responses)
16
16
-[Themes](#themes)
17
+
-[Images](#images)
17
18
-[Tests](#tests)
18
19
19
20
## Installation
@@ -169,9 +170,35 @@ Retrieves a list of JSON descriptions for all themes in your Typeform account (p
169
170
170
171
```python
171
172
themes = Typeform('<api_key>').themes
172
-
result: dict= themes.list()
173
+
result: dict= themes.get('abc123')
174
+
```
175
+
176
+
### Images
177
+
178
+
#### `images.get(uid: str)`
179
+
180
+
Retrieves an image by the given id. [See docs](https://developer.typeform.com/create/reference/retrieve-image).
181
+
182
+
```python
183
+
images = Typeform('<api_key>').images
184
+
result: dict= images.get('abc123')
173
185
```
174
186
187
+
#### `images.list()`
188
+
189
+
Retrieves a list of JSON descriptions for all images in your Typeform account. Images are listed in reverse-chronological order based on the date you added them to your account.
Specify the URL of your image or send your image in base64 format, which encodes the image data as ASCII text. You can use a tool like Base64 Image Encoder to get the base64 code for the image you want to add.
0 commit comments