Python OrangeTheory Fitness API Client
Project description
Simple API client for interacting with the OrangeTheory Fitness APIs.
Review the documentation.
This library allows access to the OrangeTheory API to retrieve workouts and performance data, class schedules, studio information, and bookings.
Installation
pip install otf-api
Overview
To use the API, you need to create an instance of the Otf class. This will authenticate you with the API and allow you to make requests. When the Otf object is created it automatically grabs your member details and home studio, to simplify the process of making requests.
You can either pass an OtfUser object to the OtfClass or you can pass nothing and allow it to prompt you for your username and password.
You can also export environment variables OTF_EMAIL and OTF_PASSWORD to get these from the environment.
from otf_api import Otf, OtfUser
otf = Otf()
# OR
otf = Otf(user=OtfUser(<email_address>,<password>))
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file otf_api-0.15.4.tar.gz.
File metadata
- Download URL: otf_api-0.15.4.tar.gz
- Upload date:
- Size: 55.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
760a2ce1496c80ace473c812faa2a461a35f0af38aff6b22699f9e2351894b66
|
|
| MD5 |
74b3f7e9387df448cbaeb58056c0c7d6
|
|
| BLAKE2b-256 |
ae227e080721360d53f564236d442a70241e85581a32e337d1a2229c7b12742a
|
Provenance
The following attestation bundles were made for otf_api-0.15.4.tar.gz:
Publisher:
python_package.yml on NodeJSmith/otf-api
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
otf_api-0.15.4.tar.gz -
Subject digest:
760a2ce1496c80ace473c812faa2a461a35f0af38aff6b22699f9e2351894b66 - Sigstore transparency entry: 367431562
- Sigstore integration time:
-
Permalink:
NodeJSmith/otf-api@4bd70104c69068a970ff5d71e1f6bc7378a14c1d -
Branch / Tag:
refs/tags/v0.15.4 - Owner: https://github.com/NodeJSmith
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python_package.yml@4bd70104c69068a970ff5d71e1f6bc7378a14c1d -
Trigger Event:
push
-
Statement type:
File details
Details for the file otf_api-0.15.4-py3-none-any.whl.
File metadata
- Download URL: otf_api-0.15.4-py3-none-any.whl
- Upload date:
- Size: 72.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6e7ceeba419df1eda0c1ece3dc45b1b001dc13fc9d1ecdbbc824ef2980590d20
|
|
| MD5 |
04f006c6e745857d522625606e335533
|
|
| BLAKE2b-256 |
3372a1f569dae3d42d883a5783acc4754bc0f316b244d96ae7ad1d0cb450e4da
|
Provenance
The following attestation bundles were made for otf_api-0.15.4-py3-none-any.whl:
Publisher:
python_package.yml on NodeJSmith/otf-api
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
otf_api-0.15.4-py3-none-any.whl -
Subject digest:
6e7ceeba419df1eda0c1ece3dc45b1b001dc13fc9d1ecdbbc824ef2980590d20 - Sigstore transparency entry: 367431572
- Sigstore integration time:
-
Permalink:
NodeJSmith/otf-api@4bd70104c69068a970ff5d71e1f6bc7378a14c1d -
Branch / Tag:
refs/tags/v0.15.4 - Owner: https://github.com/NodeJSmith
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python_package.yml@4bd70104c69068a970ff5d71e1f6bc7378a14c1d -
Trigger Event:
push
-
Statement type: