Skip to main content

Add your description here

Project description

Family Link

A Python package to interact with Google Family Link.

Installation

pip install familylink

Usage

Create a client

from familylink import FamilyLink

client = FamilyLink()

Set an app limit

client.set_app_limit("Spotify", 30)  # in minutes

Block an app

client.block_app("Youtube")

Always allow an app

client.always_allow_app("Calculator")

Remove an app limit

client.remove_app_limit("Youtube")

List apps and usage

client.print_usage()
# ------------------------------
# Limited apps
# ------------------------------
# Spotify: Music and Podcasts: 30 minutes
# 
# ------------------------------
# Blocked apps
# ------------------------------
# YouTube
# 
# ------------------------------
# Always allowed apps
# ------------------------------
# Calculator
# 
# ------------------------------
# Usage per app (today)
# ------------------------------
# Spotify: Music and Podcasts: 00:30:09

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

familylink-0.1.0.tar.gz (20.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

familylink-0.1.0-py3-none-any.whl (6.4 kB view details)

Uploaded Python 3

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page