Skip to content

Instantly share code, notes, and snippets.

View omarshahine's full-sized avatar

Omar Shahine omarshahine

  • Microsoft
  • Seattle, WA
  • 00:29 (UTC -07:00)
View GitHub Profile
@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