Check nearby Apple stores for iPhone X availability
Project Description
# iPhone X Stock Chcker
This installs a CLI `checkx` that will check nearby apple stores for locations that have the iPhoneX instock.
## Installation
``` bash
$ pip install iphone-checker
```
or Just download or clone this project, `cd` into the dir then run
``` bash
$ python setup.py install
```
or
``` bash
$ pip install .
```
## Usage
### Module Usage
```python
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](http://rem.mit-license.org)
This installs a CLI `checkx` that will check nearby apple stores for locations that have the iPhoneX instock.
## Installation
``` bash
$ pip install iphone-checker
```
or Just download or clone this project, `cd` into the dir then run
``` bash
$ python setup.py install
```
or
``` bash
$ pip install .
```
## Usage
### Module Usage
```python
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](http://rem.mit-license.org)
Release history Release notifications
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Filename, size & hash SHA256 hash help | File type | Python version | Upload date |
---|---|---|---|
iphone-checker-0.0.1.dev9.tar.gz (4.1 kB) Copy SHA256 hash SHA256 | Source | None | Nov 15, 2017 |