We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 49673f5 commit a3d69e8Copy full SHA for a3d69e8
examples/00.py
@@ -17,8 +17,11 @@
17
# create an instance of the API class
18
api_client = elabapi_python.ApiClient(configuration)
19
# fix issue with Authorization header not being properly set by the generated lib
20
-api_client.set_default_header(header_name='Authorization', header_value='apiKey4Test')
+api_client.set_default_header(header_name='Authorization', header_value=my_api_key)
21
22
# create an instance of Items
23
items = elabapi_python.ItemsApi(api_client)
24
+# display items with default settings
25
print(items.read_items())
26
+# display 50 items with a category id of 8
27
+print(len(items.read_items(limit=50, cat=8)))
0 commit comments