diff options
-rw-r--r-- | docs/gl_objects/snippets.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/docs/gl_objects/snippets.py b/docs/gl_objects/snippets.py index f32a11e..87d1a42 100644 --- a/docs/gl_objects/snippets.py +++ b/docs/gl_objects/snippets.py @@ -8,7 +8,10 @@ public_snippets = gl.snippets.public() # get snippet = gl.snippets.get(snippet_id) -# get the content +# get the content - API v4 +content = snippet.content() + +# get the content - API v3 content = snippet.raw() # end get |