cristianmiranda / iphone15-stock-bot

🤖 Checks real time stock for iPhone 15 Pro Max models (White Titanium and Natural Titanium + 256 GB / 512 GB / 1 TB) in Orlando, Florida.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

📱 iPhone 15 Stock Bot

Deployment

# Build and push docker image
docker build -t iphone15stockbot .
docker tag iphone15stockbot:latest 387720813372.dkr.ecr.us-east-1.amazonaws.com/iphone15stockbot:latest
docker push 387720813372.dkr.ecr.us-east-1.amazonaws.com/iphone15stockbot:latest

# Refresh lambda
aws lambda update-function-code --function-name iPhone15StockBot --image-uri 387720813372.dkr.ecr.us-east-1.amazonaws.com/iphone15stockbot:latest

AWS Lambda payload

{
  "bot_token": "367849242:ABEY8aTMHxFZQRFqf3kguuz8jSBOp3QnKKR",
  "recipients": [168964322, 167890751]
}

AWS resources:

  • Lambda
  • ECR
  • EventBridge Scheduler

Hecho con ❤️ en 🇦🇷 ... papá! 🤙🏼

About

🤖 Checks real time stock for iPhone 15 Pro Max models (White Titanium and Natural Titanium + 256 GB / 512 GB / 1 TB) in Orlando, Florida.

License:MIT License


Languages

Language:Python 91.1%Language:Dockerfile 8.9%