Skip to content

Instantly share code, notes, and snippets.

@omarshahine
omarshahine / CheckAppleStock
Last active January 15, 2017 18:51
Checks Apple inventory for availability of any Apple SKU. In this example, AirPods
# If you don't have the requests module, you can download by typing:
#
# sudo easy_install -U requests
#
# into the terminal on macOS
#
# You can change the partnum below with any Apple SKU
#
import urllib