Skip to content

Commit 5c16c8d

Browse files
committed
Add API v3 example
1 parent 505c749 commit 5c16c8d

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

docs/gl_objects/snippets.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,11 @@
88

99
# get
1010
snippet = gl.snippets.get(snippet_id)
11-
# get the content
11+
# get the content - API v4
1212
content = snippet.content()
13+
14+
# get the content - API v3
15+
content = snippet.raw()
1316
# end get
1417

1518
# create

0 commit comments

Comments
 (0)