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
" alt="Breinify API Python Library" width="250"></p>
154
+
155
+
and
156
+
157
+
.. raw:: html
158
+
159
+
<palign="center"><imgsrc="https://raw.githubusercontent.com/Breinify/brein-api-library-python/master/documentation/img/florida.png"alt="A map of Florida"width="250"></p>
160
+
" alt="Breinify API Python Library" width="350"></p>
161
+
162
+
163
+
* The full code for this example is available `here`__
The engine powering the DigitalDNA API provides three endpoints. The first endpoint is used to inform the engine about the activities performed by visitors of your site. The activities are used to understand the user's current interest and infer the intent. It becomes more and more accurate across different users and verticals as more activities are collected. It should be noted, that any personal information is not stored within the engine, thus each individual's privacy is well protected. The engine understands several different activities performed by a user, e.g., landing, login, search, item selection, or logout.
171
+
The API provides support for analytics based on user behavior on your site or app by sending user activities to the `/activity` endpoint. Since the `/activity` endpoint only consumes data, calls to it in the Python library are sent asynchronously.
146
172
147
-
For this example, pretend that a user named "John Doe" is logged in to your site with his email address (john.doe@email.com) is viewing the page "www.example.com". You can log this by executing:
173
+
For this example, pretend that a user named "John Doe" is logged in to your site with his email address (``john.doe@email.com``) is viewing the page "www.example.com". You can log this by executing:
148
174
149
175
.. code:: python
150
176
151
177
from breinify import User
152
178
#create a user you are interested in with their email and last name
0 commit comments