Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/thomasleese/pypuregym
Python library for interacting with PureGym.
https://github.com/thomasleese/pypuregym
Last synced: about 6 hours ago
JSON representation
Python library for interacting with PureGym.
- Host: GitHub
- URL: https://github.com/thomasleese/pypuregym
- Owner: thomasleese
- License: mit
- Created: 2017-10-16T11:17:29.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2021-03-22T17:08:57.000Z (over 3 years ago)
- Last Synced: 2024-09-19T00:26:52.883Z (2 months ago)
- Language: Python
- Size: 20.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# PyPureGym
Python module for interacting with PureGym.
## Installation
```bash
$ pip install puregym
```## Usage
```python
>>> from puregym import PureGym
>>> puregym = PureGym()
>>> gym = puregym.gyms[0]
>>> gym
Gym(id=69, url='https://www.puregym.com/gyms/aberdeen-kittybrewster/', slug='aberdeen-kittybrewster', name='Aberdeen Kittybrewster', location=GymLocation(latitude=57.1614, longitude=-2.1123, address='Kittybrewster Retail Park, Bedford Road', postcode='AB24 3LJ'), price=GymPrice(per_month=16.99, joining_fee=15, pay_as_you_go=7.99), status=)
```