Metadata-Version: 2.1
Name: TargetAPI
Version: 0.2.0
Summary: Interact with Target's API
Home-page: https://github.com/nwithan8/TargetAPI
Author: Nate Harris
Author-email: n8gr8gbln@gmail.com
License: GNU General Public License v3 (GPLv3)
Download-URL: https://github.com/nwithan8/TargetAPI/archive/0.2.0.tar.gz
Keywords: Target,API,shopping,retail,products,stores,barcode,search
Platform: UNKNOWN
Classifier: License :: OSI Approved :: GNU General Public License v3 (GPLv3)
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: Topic :: Software Development :: Build Tools
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Topic :: Multimedia :: Video
Classifier: Topic :: Multimedia
Classifier: Topic :: Internet :: WWW/HTTP
Classifier: Operating System :: OS Independent
Requires-Python: >=3.6
Description-Content-Type: text/markdown
Requires-Dist: requests

# TargetAPI
Interact with Target's API

# Installation
Download from PyPi with ``pip install TargetAPI``

# Usage
- Import with ``from TargetAPI import Target``
- Initialize with ``target = Target(api_key="myapikeyhere")``

Examples:
- Get stores: ``stores = target.stores``
- Search for a product: ``results = target.search(keyword="PlayStation 5 game console")``
- Product reviews: ``reviews = results[0].reviews``
- Product price: ``price = results[0].price``
- Product availability: ``availability = results[0].availability``
- Products on-hand: ``print(availability.onhand)``
- Availability locations: ``locations = availability.locations``
- Location phone number: ``print(locations[0].store.phone_number)``


