Skip to content

Issue 34 Framework for incorporating all API calls

Adrian Konarski requested to merge (removed):issue_17_smartCategories into master

Has a ItemInfoRetriever class that specializes in finding an object's category from its UPC by calling APIs.

An ItemInfoRetriever object can be created with a String UPC. Afterwards, calling the parseAllAPI() on that object will go through all the API calls/methods we have of category retrieval. A call to getItemFound() is needed to determine whether we need manual input. This only gets the item's category and a call to the Foodkeeper API is still needed.

Edited by Adrian Konarski

Merge request reports