Skip to content

WTFox/iphone-checker

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 

iPhone X Stock Checker

This installs a CLI checkx that will check nearby apple stores for locations that have the iPhoneX instock.

Imgur

Installation

$ pip install iphone-checker

or Just download or clone this project, cd into the dir then run

$ python setup.py install

or

$ pip install .

Usage

Module Usage

In [1]: from iphone_checker import check_availability

In [2]: check_availability('tmobile', '92620')
Out[2]: []  # Too accurate

CLI usage

$ checkx -z 92620
No stores near 92620 have stock. :(

$ checkx --help
Usage: checkx [OPTIONS]

Options:
  -c, --carrier TEXT  Which carrier do you need?
  -z, --zipcode TEXT  What zipcode to search in?
  --help              Show this message and exit.

Contributing

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request :D

License

MIT: http://rem.mit-license.org

About

Check Apple Stores near <zipcode> for iPhone X's!

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages