Skip to content

Commit

Permalink
Merge branch 'online' of https://github.com/cdnninja/yoto_api into on…
Browse files Browse the repository at this point in the history
…line
  • Loading branch information
cdnninja committed Apr 14, 2024
2 parents 0882ff1 + 8468861 commit 52e54fd
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
Introduction
============
# Introduction

Early days of this API. Plan is to use this for home assistant.

Expand All @@ -9,13 +8,13 @@ To run this code for test I am doing::
import logging
import sys
import os

path_root = r"C:path to files GitHub\main\yoto_api"
sys.path.append(str(path_root))
from yoto_api import \*

logging.basicConfig(stream=sys.stdout, level=logging.DEBUG, format='%(asctime)s %(name)s %(levelname)s:%(message)s')
logger = logging.getLogger(**name**)

ym = YotoManager(username="username", password="password")
print (ym.players)

0 comments on commit 52e54fd

Please sign in to comment.