Skip to content

Instantly share code, notes, and snippets.

View danielperna84's full-sized avatar

Daniel Perna danielperna84

  • QGroup GmbH
  • Frankfurt am Main, Germany
View GitHub Profile
@danielperna84
danielperna84 / getfit.py
Last active December 29, 2021 13:35 — forked from cedricbonhomme/getfit.py
Get total step count from Google Fit API for current day
#! /usr/bin/env python
#-*- coding: utf-8 -*-
import json
import httplib2
import time
from datetime import datetime
from datetime import timedelta
from apiclient.discovery import build