If you want to contribute, see the issues and write a comment saying that you want to work on it. Additionally, if you think of a new issue, feel free to add it :)
If you know a gym that shows the occupancy data, we can add it to the app!
We usually have a list of gyms to add in the issues so if it's there, just write a comment saying which gym you would like to work on. If it's a new gym, then please follow these steps:
- Fork the repo
- Add gym information in
gymdata.json
- Gym name
- Gym website URL
- Gym location
- Latitude
- Longitude
- Name of the function for scraping
- In
capture-data/web_scrape.py
, add a new function with the name that you specified in the json before.- This function should take the
gym_name
(str) andurl
(str) as input - The function should return the occupancy number (int)
- Make sure there's try/except so that the function doesn't crash!
- This function should take the
- Make a pull request
- We will review it
- Gym added 🏋️