Flurry

class flurry.Flurry(api_access_code)

Create a Flurry service.

Variables:api_access_code (str) – The API access code.

Application

Flurry.application(application_api_key)

Returns the resource corresponding to a single application.

Event

Application.event(event_name)

Returns the resource corresponding to a single event.

Event.get(start_date, end_date, version_name=None)

For single-object resources, fetch the object’s data. For collections, fetch all of the objects.

Variables:
  • start_date (str) – the first date to look metrics for.
  • end_date (str) – the last date to look metrics for.
  • version_name (str) – optional parameter indicating application’s version.

Events

Application.events()

Return the resource corresponding to all events.

Events.get(start_date, end_date, version_name=None)

For single-object resources, fetch the object’s data. For collections, fetch all of the objects.

Variables:
  • start_date (str) – the first date to look metrics for.
  • end_date (str) – the last date to look metrics for.
  • version_name (str) – optional parameter indicating application’s version.

Metrics

Application.metrics()

Returns the resource corresponding to all metrics.

Metrics.active_users(*args, **kwargs)

Returns the total number of unique users who accessed the application per day.

Variables:
  • start_date (str) – the first date to look metrics for.
  • end_date (str) – the last date to look metrics for.
  • country (str) – optional parameter indicating user’s country.
  • version_name (str) – optional parameter indicating application’s version.
  • group_by (str) – group data by DAYS, WEEKS or MONTHS. By default, it will group data by days.
Metrics.active_users_by_month(*args, **kwargs)

Returns the total number of unique users who accessed the application per month.

Variables:
  • start_date (str) – the first date to look metrics for.
  • end_date (str) – the last date to look metrics for.
  • country (str) – optional parameter indicating user’s country.
  • version_name (str) – optional parameter indicating application’s version.
  • group_by (str) – group data by DAYS, WEEKS or MONTHS. By default, it will group data by days.
Metrics.active_users_by_week(*args, **kwargs)

Returns the total number of unique users who accessed the application per week

Variables:
  • start_date (str) – the first date to look metrics for.
  • end_date (str) – the last date to look metrics for.
  • country (str) – optional parameter indicating user’s country.
  • version_name (str) – optional parameter indicating application’s version.
  • group_by (str) – group data by DAYS, WEEKS or MONTHS. By default, it will group data by days.
Metrics.avg_page_views_per_session(*args, **kwargs)

Returns the average page views per session for each day.

Variables:
  • start_date (str) – the first date to look metrics for.
  • end_date (str) – the last date to look metrics for.
  • country (str) – optional parameter indicating user’s country.
  • version_name (str) – optional parameter indicating application’s version.
  • group_by (str) – group data by DAYS, WEEKS or MONTHS. By default, it will group data by days.
Metrics.avg_session_length(*args, **kwargs)

Returns the average length of a user session per day.

Variables:
  • start_date (str) – the first date to look metrics for.
  • end_date (str) – the last date to look metrics for.
  • country (str) – optional parameter indicating user’s country.
  • version_name (str) – optional parameter indicating application’s version.
  • group_by (str) – group data by DAYS, WEEKS or MONTHS. By default, it will group data by days.
Metrics.median_session_length(*args, **kwargs)

Returns the median length of a user session per day.

Variables:
  • start_date (str) – the first date to look metrics for.
  • end_date (str) – the last date to look metrics for.
  • country (str) – optional parameter indicating user’s country.
  • version_name (str) – optional parameter indicating application’s version.
  • group_by (str) – group data by DAYS, WEEKS or MONTHS. By default, it will group data by days.
Metrics.new_users(*args, **kwargs)

Returns the total number of unique users who used the application for the first time per day.

Variables:
  • start_date (str) – the first date to look metrics for.
  • end_date (str) – the last date to look metrics for.
  • country (str) – optional parameter indicating user’s country.
  • version_name (str) – optional parameter indicating application’s version.
  • group_by (str) – group data by DAYS, WEEKS or MONTHS. By default, it will group data by days.
Metrics.page_views(*args, **kwargs)

Returns the total number of page views per day.

Variables:
  • start_date (str) – the first date to look metrics for.
  • end_date (str) – the last date to look metrics for.
  • country (str) – optional parameter indicating user’s country.
  • version_name (str) – optional parameter indicating application’s version.
  • group_by (str) – group data by DAYS, WEEKS or MONTHS. By default, it will group data by days.
Metrics.retained_users(*args, **kwargs)

Returns the total number of users who remain active users of the application per day.

Variables:
  • start_date (str) – the first date to look metrics for.
  • end_date (str) – the last date to look metrics for.
  • country (str) – optional parameter indicating user’s country.
  • version_name (str) – optional parameter indicating application’s version.
  • group_by (str) – group data by DAYS, WEEKS or MONTHS. By default, it will group data by days.
Metrics.sessions(*args, **kwargs)

Returns the total number of times users accessed the application per day.

Variables:
  • start_date (str) – the first date to look metrics for.
  • end_date (str) – the last date to look metrics for.
  • country (str) – optional parameter indicating user’s country.
  • version_name (str) – optional parameter indicating application’s version.
  • group_by (str) – group data by DAYS, WEEKS or MONTHS. By default, it will group data by days.
Application.get()

For single-object resources, fetch the object’s data. For collections, fetch all of the objects.

Applications

Flurry.applications()

Return the resource corresponding to all applications.

Applications.get()

For single-object resources, fetch the object’s data. For collections, fetch all of the objects.