This installs a CLI checkx
that will check nearby apple stores for locations that have the iPhoneX instock.
$ pip install iphone-checker
or Just download or clone this project, cd
into the dir then run
$ python setup.py install
or
$ pip install .
In [1]: from iphone_checker import check_availability
In [2]: check_availability('tmobile', '92620')
Out[2]: [] # Too accurate
$ 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.
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -am 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull request :D