Skip to main content

Command Palette

Search for a command to run...

Gym Booking Bot

Published
2 min readView as Markdown
S
I'm energetic, ambitious person who has developed a mature and responsible approach to any task that I undertake, or situation that I am presented with. I am excellent at working with others to achieve a certain objective on time and with excellence. Customer Engineer| Al/ ML |AI Infrastructure | Cloud Migration |Technical Solution| Vertex AI| Cloud Database |Cloud Networking |DevOps Engineer| Technical Blogger| Generative AI| Google Cloud Ready Facilitator 🌐Linux Linux Professional Institute Certificate Technical Writer \ Cloud Networking Cloud Computing \ Cloud Infrastructure Cloud Consultant \ Customer Engineer 🌐Virtualization - VMware, vSphere, vCenter Server 🌐Programming Skill Technical Skills Proficiency in languages like Java, Python, Scala, or JavaScript. System Administration: Experience with Linux/Unix systems, Windows Server. Networking: Understanding of network protocols, routing, VPC, Subnets, Firewalls, VPNs, Load Balancers, switching, and firewall configurations. Cloud Platforms: Experience with AWS, Azure, or Google Cloud Platform. Databases: Knowledge of SQL and NoSQL databases like MySQL, PostgreSQL, MongoDB. Scripting: Ability to write scripts for automation using Bash, PowerShell, or similar. Monitoring and Logging: Familiarity with tools like Nagios, Prometheus, Grafana, ELK Stack. Configuration Management: Experience with tools like Ansible, Puppet, Chef. DevOps: Knowledge of CI/CD pipelines, Jenkins, Docker, Kubernetes. Security: Understanding of security best practices and tools, Cloud security best practices, IAM, Security Groups, Compliance. Infrastructure as Code: Terraform, CloudFormation, Ansible Compute Services: EC2, GCE, Azure VMs. Storage Solutions: S3, GCS Customer Service Skills:- Communication: Strong verbal and written communication skills. Problem-Solving: Ability to diagnose and resolve technical issues efficiently. Interpersonal Skills: Building and maintaining relationships with clients. Training and Education: Ability to conduct training sessions for clients. Project Management: Managing customer projects and ensuring timely delivery. Knowledge/experience in configuring and supporting devices such as Cisco, Juniper, Checkpoint, etc. Knowledge Cloud Migration, Presale, Data Center relocation, Go-to-Market Strategy. Certifications: AWS Certified Solutions Architect Microsoft Certified: Azure Solutions Architect Expert Google Professional Cloud Architect Certified Kubernetes Administrator (CKA)

Your image title

💪 I wrote a Python script that automates my gym time bookings at midnight everyday.

Due to the COVID-19 pandemic, gyms in Ontario have implemented an online sign-up system that requires members to book for a specific workout time.
The gym I go to allow members to start booking their gym times at midnight everyday, which is an inconvenient time for me.
So, I decided to create a bot that does it for me.

Tools/Technologies:

  • Selenium WebDriver

  • Amazon EC2

How I built it:

➡️ I web-scraped my gym's website by inspecting its HTML elements.
➡️ I used Selenium to automate the booking process, more specifically, I used ChromeDriver which is a standalone server that is used by Selenium WebDriver to control tests on Chrome.
➡️ I set up an AWS EC2 instance that runs the script on the cloud.
➡️ I installed Putty to allow me to connect to the instance.
➡️ I scheduled a cron job that automatically runs the script at a specified time in my AWS EC2 instance.

To use:

➡️ Clone this repo and set up your local copy of the repository.
➡️ Download ChromeDriver so you can run the automated script on Chrome.
➡️ To create, launch, and connect to an AWS EC2 instance, follow this useful guide here
➡️ If you do not wish to run the script on the cloud, you can set up a task scheduler (Windows only) and it will run the script only if your machine is turned on

Now you can get your gym booking while being sound asleep!

11 views

More from this blog

C

CloudGrad

96 posts