You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.rst
+75-4Lines changed: 75 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,7 +17,7 @@ Use pip to install!
17
17
18
18
pip install keen
19
19
20
-
This client is known to work on Python 2.6, 2.7, 3.2, 3.3, 3.4, 3.5 and 3.6.
20
+
This client is known to work on Python 2.7, 3.4, 3.5 and 3.6.
21
21
22
22
For versions of Python < 2.7.9, you’ll need to install pyasn1, ndg-httpsclient, pyOpenSSL.
23
23
@@ -470,10 +470,81 @@ returned by the server in the specified time. For example:
470
470
471
471
This will cause both add_event() and add_events() to timeout after 100 seconds. If this timeout limit is hit, a requests.Timeout will be raised. Due to a bug in the requests library, you might also see an SSLError (https://github.com/kennethreitz/requests/issues/1294)
472
472
473
-
Create Scoped Keys
473
+
Create Access Keys
474
474
''''''''''''''''''
475
475
476
-
The Python client enables you to create `Scoped Keys <https://keen.io/docs/security/#scoped-key>`_ easily. For example:
476
+
The Python client enables the creation and manipulation of `Access Keys <https://keen.io/docs/access/access-keys>`_. Examples:
477
+
478
+
.. code-block:: python
479
+
480
+
from keen.client import KeenClient
481
+
# You could also simply use: import keen
482
+
# If you do this, you will need your project ID and master key set in environment variables.
483
+
484
+
client = KeenClient(
485
+
project_id="xxxx",
486
+
master_key="zzzz"
487
+
)
488
+
489
+
# Create an access key. See: https://keen.io/docs/access/access-keys/#customizing-your-access-key
0 commit comments