mousepy.api package¶
Subpackages¶
Submodules¶
mousepy.api.heatmaps module¶
mousepy.api.website module¶
-
class
mousepy.api.website.
Website
(parent, site_name: str, **kwargs)[source]¶ Bases:
mousepy.api.API
-
ALIGNMENT_CENTER
= 'Center'¶
-
ALIGNMENT_FLEXIBLE
= 'Flexible'¶
-
ALIGNMENT_LEFT
= 'Left'¶
-
ALIGNMENT_RIGHT
= 'Right'¶
-
STATUS_NOT_INSTALLED
= 'NotInstalled'¶
-
STATUS_PAUSED
= 'Paused'¶
-
STATUS_RECORDING
= 'Recording'¶
-
STATUS_STOPPED
= 'Stopped'¶
-
alignment
¶
-
anonymize_ips
¶
-
created
¶
-
domains
¶
-
encoding
¶
-
excluded_ips
¶
-
heatmaps
(uri=None) → mousepy.api.heatmaps.Heatmaps[source]¶ Parameters: uri – Uri of the page to load the heatmaps from. Returns: Heatmaps
-
id
¶
-
merge_urls
¶
-
name
¶
-
page_identifiers
¶
-
read_only
¶
-
recording_rate
¶
-
recordings
(recording_id: str = None, search: str = None, from_date=None, to_date=None, country: str = None, tags: list = None, vars: dict = None, star: bool = None, limit: int = None, meta: bool = False, **kwargs) → typing.Union[mousepy.api.recordings.Recordings, mousepy.api.recordings.recording.Recording][source]¶ Returns
Recording
if an id is provided otherwise returnsRecordings
Parameters: - recording_id – Recording ID filter
- search – Text search filter
- from_date – Start date filter
- to_date – End date filter
- country – country filter
- tags – tag filter
- vars – variable filter
- star – star filter
- limit – Maximum amount of values returned
- meta – Alias for limit = 0
- kwargs – Other potential filters as documented in https://api-docs.mouseflow.com/#filters
Returns:
-
status
¶
-
width
¶
-
mousepy.api.websites module¶
Module contents¶
-
class
mousepy.api.
API
[source]¶ Bases:
object
Base API request handling class
-
POST_METHOD_DATA
= 'data'¶
-
POST_METHOD_PARAMETERS
= 'params'¶
-
auth
= ''¶
-
debug
= False¶
-
post
(*args, data: list = None, method: str = 'params', **kwargs)[source]¶ Makes a post request using either json or data methodology
Parameters: - args –
- data –
- method –
- kwargs –
Returns:
-
response
¶
-
url
= ''¶
-
value
¶
-