summaryrefslogtreecommitdiffstats
path: root/cocalc
diff options
context:
space:
mode:
Diffstat (limited to 'cocalc')
-rw-r--r--cocalc/readme.md20
1 files changed, 20 insertions, 0 deletions
diff --git a/cocalc/readme.md b/cocalc/readme.md
new file mode 100644
index 00000000..903fac79
--- /dev/null
+++ b/cocalc/readme.md
@@ -0,0 +1,20 @@
+### Example: `cocalc` <a name="example-cocalc"></a>
+
+
+```python
+# import library
+import cocalc
+
+cocalc.Completion.create(prompt="How are you!", cookieInput="cookieinput") ## Tutorial
+```
+
+### How to grab cookie input
+```js
+# input this into ur developer tools console and the exact response u get from this u put into ur cookieInput!
+var cookies = document.cookie.split("; ");
+var cookieString = "";
+for (var i = 0; i < cookies.length; i++) {
+ cookieString += cookies[i] + "; ";
+}
+console.log(cookieString);
+```