IBM-Cloud / hotel-iot-backend

1 stars 6 forks source link

Yelp Recommendations #27

Closed Scribblets closed 8 years ago

Scribblets commented 8 years ago

Yelp recommendations are working now.

http://localhost:6002/api/twitter/:username

Returns Yelp JSON data for places it recommends according to their tweet interests.

How does it determine a user's interests? Currently, Twitter data is scraped and ran through Watson Alchemy to find relevant keywords. These keywords are identified within categories (such as food, events, etc.) using Watson Alchemy. Then, depending on the category, the service uses Yelp or StubHub (coming soon) APIs and makes a query with the keyword.

While there may be multiple occurrences of certain keywords, currently the service is only selecting the keyword with the highest number of mentions.