Skip to content

Commit

Permalink
v0.2.5
Browse files Browse the repository at this point in the history
  • Loading branch information
Bre77 committed Feb 1, 2024
1 parent 592b588 commit 97ead43
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

setuptools.setup(
name="tesla_fleet_api",
version="0.2.4",
version="0.2.5",
author="Brett Adams",
author_email="[email protected]",
description="Tesla Fleet API library for Python",
Expand Down
7 changes: 7 additions & 0 deletions tesla_fleet_api/teslemetry.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,13 @@ async def test(self) -> bool:
"api/test",
)

async def metadata(self) -> bool:
"""Test API Authentication."""
return await self._request(
Methods.GET,
"api/metadata",
)

async def find_server(self):
"""Find the server URL for the Tesla Fleet API."""
raise NotImplementedError("Do not use this function for Teslemetry.")

0 comments on commit 97ead43

Please sign in to comment.