Code Monkey home page Code Monkey logo

apple-store-helper's Introduction

Apple Store 预约助手

iPhone13系列

重构, 升级 fyne 至 2.0, 写起来的确比 1.0 舒服得多

注意

  • 截止今日(2021-09-19)还无法预约, 所以13系列未做实际测试
  • 库存接口已经有了(如果后面Apple不改的话)
  • 目前仅有**大陆, 澳门暂时没库存接口(后面有了再更新)
  • 库存查询间隔由 1秒 调整为 500毫秒

正常预约步骤

  1. 进入商品预购页面
  2. 选择具体型号和门店
  3. 要求输入注册码
  4. 选择到店时间,填写身份证号
  5. 完成

重要提示

  • 这不是外挂,不能全自动一劳永逸
  • 助手可以直接进入预约步骤3,快人2步,后续步骤需要自己手动操作
  • 提前登录
  • 提前获取注册码,30min内可以复用,获取方式是找个冷门型号走到获取注册码步骤
  • 经过测试12各系列的注册码不能通用

关于开发

  • 代码不优雅, 注释不完善, review须谨慎
  • GUI框架 fyne

运行

go run main.go

打包

# macos打包
go get fyne.io/fyne/cmd/fyne
fyne package -os darwin

# macos下打包其他平台
go get github.com/fyne-io/fyne-cross
fyne-cross windows

使用方法

  1. 前往 release 页面下载,启动
  2. 首次运行点击 测试 按钮, 确保能正确打开浏览器
  3. 选择门店和型号,点击 添加 到监控列表
  4. 点击 开始 即可

匹配到之后会暂停监听,直到再次点击 开始

参考图片

效果预览 效果预览

注册码获取页面 注册码获取页面

选择到店时间,填写身份证号 选择到店时间,填写身份证号

一杯卡布奇诺 ☕️

apple-store-helper's People

Contributors

hteen avatar blackhole1 avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.