summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/examples.md13
1 files changed, 13 insertions, 0 deletions
diff --git a/docs/examples.md b/docs/examples.md
index 37e4dfc..d1ffba5 100644
--- a/docs/examples.md
+++ b/docs/examples.md
@@ -74,6 +74,19 @@ The following scripts can also be found in the
```
:::
+### PyGithub
+```{include} ../examples/pygithub.py
+:start-line: 2
+:end-line: 25
+```
+
+:::{admonition} Example: [pygithub.py](https://github.com/requests-cache/requests-cache/blob/main/examples/pygithub.py)
+:class: toggle
+```{literalinclude} ../examples/pygithub.py
+:lines: 27-
+```
+:::
+
### Multi-threaded requests
```{include} ../examples/threads.py
:start-line: 2