All Projects → carlosesilva → Iphone X Availability Node Cli

carlosesilva / Iphone X Availability Node Cli

Check for iPhone X availability in-store near you using node.js

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Iphone X Availability Node Cli

Dosxvpn
Easily deploy your own personal VPN server with DNS adblocking running on DigitalOcean
Stars: ✭ 284 (+1134.78%)
Mutual labels:  cli, iphone
Texture Compressor
CLI tool for texture compression using ASTC, ETC, PVRTC and S3TC in a KTX container.
Stars: ✭ 156 (+578.26%)
Mutual labels:  cli, iphone
Lambdalogs
A CLI tool to trace AWS Lambda calls over multiple CloudWatch log groups.
Stars: ✭ 18 (-21.74%)
Mutual labels:  cli
Fluddy
🤝 A dependency-free command line utility for managing, updating, creating and launching Flask Apps.
Stars: ✭ 23 (+0%)
Mutual labels:  cli
Commander
Set of reactive functions for cli tools like Swarmer and Composer.
Stars: ✭ 19 (-17.39%)
Mutual labels:  cli
Lvartisan
Laravel artisan command for creating view.
Stars: ✭ 18 (-21.74%)
Mutual labels:  cli
Probe spider
Probe_Spider is a Open Source Intelligence Tool made complete out of Python.
Stars: ✭ 20 (-13.04%)
Mutual labels:  cli
Pagespeed Score
DEPRECATED - use GoogleChrome/lighthouse-ci instead
Stars: ✭ 18 (-21.74%)
Mutual labels:  cli
Hed
vim like hex editor
Stars: ✭ 23 (+0%)
Mutual labels:  cli
Hugo Elasticsearch
Generate Elasticsearch indexes for Hugo static sites by parsing front matter
Stars: ✭ 19 (-17.39%)
Mutual labels:  cli
Cliclick
macOS CLI tool for emulating mouse and keyboard events
Stars: ✭ 917 (+3886.96%)
Mutual labels:  cli
Namecheck
Check your name idea availability with CLI
Stars: ✭ 19 (-17.39%)
Mutual labels:  cli
Aruba
Test command-line applications with Cucumber-Ruby, RSpec or Minitest. The most up to date documentation can be found on Cucumber.Pro (https://app.cucumber.pro/projects/aruba)
Stars: ✭ 900 (+3813.04%)
Mutual labels:  cli
Mrm
Codemods for your project config files
Stars: ✭ 900 (+3813.04%)
Mutual labels:  cli
Git2json
Simple tool to get a JSON from your git log.
Stars: ✭ 18 (-21.74%)
Mutual labels:  cli
Life Commit
🏃📆 Life as a git. Commit on your life.
Stars: ✭ 919 (+3895.65%)
Mutual labels:  cli
Dotnet Ignore
.NET CLI tool that can download .gitignore file from gitignore repository
Stars: ✭ 18 (-21.74%)
Mutual labels:  cli
Ssh Helper
Easily manage your ssh config.
Stars: ✭ 19 (-17.39%)
Mutual labels:  cli
Clifx
Declarative framework for building command line interfaces
Stars: ✭ 900 (+3813.04%)
Mutual labels:  cli
Loopy
Loopy is an unofficial cli client for CBA Loop for the lazy bones
Stars: ✭ 23 (+0%)
Mutual labels:  cli

iPhone X Availability Node CLI

A node cli tool I put together to check the iPhone X in-store availability near me instead of having to refresh the apple website over and over again.

Warning: This was very quickly put together so it is very rough and has a lot of room for improvement. It did end up being successful in letting me know there was some new stock near me a few hours after I built it so at the very least: it works!

By the way this was only tested on a Mac, I can't guarantee it will work on other platforms.

Feel free to submit a pull request with improvements or just simply fork it and modify it for your own needs. Soon there won't be a shortage of iPhones anymore so this tool will be irrelevant.

What it does

It continously makes requests to Apple's availability api. When it finds some new stock near you, it displays the stores' name and distance from your zipcode then exits the program.

Requirements

  • Node v8+

How to use

  1. Clone this repository git clone https://github.com/carlosesilva/iphone-x-availability-node-cli.git
  2. Go into the directory cd iphone-x-availability-node-cli
  3. Instal dependencies npm install
  4. Run the program node index.js --zip=12345

Examples

Check availability for TMOBILE iPhone X 256gb in space gray every 30 seconds within 60 miles of the zip code 12345 (pretty much the default settings so we don't need to specify them here, the zip code is always required though)

node index.js --zip=012345

Check availability for ATT iPhone X 64gb in silver every minute within 30 miles of the zip code 02115

node index.js --carrier=ATT --color=silver --storage=64 --delay=60 --zip=02115 --distance=30

Use the --help flag for more information

node index.js --help

Options

option accepted values default
carrier 'ATT', 'SPRINT', 'TMOBILE', 'VERIZON' 'TMOBILE'
model 'x' 'x'
color 'silver', 'gray' 'gray'
storage 64, 256 256
delay Integer number of seconds between requests 30
distance Integer number of miles from zipcode to look 60
zip* 5 digit US zip code Not provided, you must enter your own

*required

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].