Skip to content

Commit

Permalink
Merge pull request #60 from NodeJSmith/feature/improvements
Browse files Browse the repository at this point in the history
Simplify class/booking methods by accepting class/booking objects as well as UUIDs
  • Loading branch information
NodeJSmith authored Oct 14, 2024
2 parents 6e613ed + 7b573e6 commit 079da5b
Show file tree
Hide file tree
Showing 6 changed files with 276 additions and 183 deletions.
2 changes: 1 addition & 1 deletion .bumpversion.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tool.bumpversion]
current_version = "0.7.1"
current_version = "0.8.0"

parse = "(?P<major>\\d+)\\.(?P<minor>\\d+)\\.(?P<patch>\\d+)(?:-(?P<dev_l>dev)(?P<dev>0|[1-9]\\d*))?"

Expand Down
1 change: 1 addition & 0 deletions examples/workout_examples.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@ async def main():
# this value it will attempt to return enough data points for 30 second intervals

telemetry = await otf.get_telemetry(performance_summary_id=data_list.summaries[0].id)
telemetry.telemetry = telemetry.telemetry[:2]
print(telemetry.model_dump_json(indent=4))

"""
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "otf-api"
version = "0.7.1"
version = "0.8.0"
description = "Python OrangeTheory Fitness API Client"
authors = ["Jessica Smith <[email protected]>"]
license = "MIT"
Expand Down
2 changes: 1 addition & 1 deletion src/otf_api/__init__.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from .api import Otf
from .auth import OtfUser

__version__ = "0.7.1"
__version__ = "0.8.0"


__all__ = ["Otf", "OtfUser"]
Loading

0 comments on commit 079da5b

Please sign in to comment.