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 7c6e701 commit 3c4162dCopy full SHA for 3c4162d
docs/index.md
@@ -28,6 +28,12 @@ class CodeExecClient(APIClient):
28
# Also note the / prefix in the url
29
return Post("/execute", params={'lang':language, 'code':code})
30
31
+
32
+# Using the API client
33
+from httpx import Client
34
+client = CodeExecClient(session=Client())
35
+response = client.run("py", "print('hello world!')")
36
37
```
38
39
## Documentation is under works
0 commit comments