Skip to content

Instantly share code, notes, and snippets.

View Hoekeren's full-sized avatar

Hoekeren

  • Denmark
View GitHub Profile
@jangaraj
jangaraj / app.py
Last active November 10, 2020 07:47
Connect to Endomondo API with local credentials
import requests
import uuid, socket
class Endomondo:
# user your own non OIDC credentials here
email = "<EMAIL>"
password = "<PASSWORD>"
country = 'GB'
device_id = str(uuid.uuid5(uuid.NAMESPACE_DNS, socket.gethostname()))