Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

News Analysis via AlchemyAPI for Topics, Companies, and People

DZone's Guide to

News Analysis via AlchemyAPI for Topics, Companies, and People

Bluemix's AlchemyAPI service offers API access to blogs and other news content over a two month period. Learn more about AlchemyAPI, and news aggregation with this neat service.

· Integration Zone
Free Resource

Modernize your application architectures with microservices and APIs with best practices from this free virtual summit series. Brought to you in partnership with CA Technologies.

The AlchemyAPI service on Bluemix provides an API to access news and blog content from the last 60 days enriched with meta information like sentiments and entities identified through natural language processing. This allows, for example, to build applications focussed on trend analysis for certain topics, companies or people.

The AlchemyData News API indexes 250k to 300k English language news and blog articles every day and stores the last two months. The News API uses internally several of the AlchemyLanguage APIs to analyze text and to perform more than just simple keyword based searches.

Here is a quick sample. With the following command you can invoke a query for positive news about IBM in the last two days. Since currently the IBM Connect conference is going on, news about this event is found.

curl -G "https://access.alchemyapi.com/calls/data/GetNews?apikey=[YOUR_API_KEY]&return=enriched.url.title,enriched.url.url,enriched.url.author,enriched.url.publicationDate,enriched.url.enrichedTitle.docSentiment&start=now-2d&end=now&q.enriched.url.enrichedTitle.entities.entity=|text=IBM,type=company|&q.enriched.url.enrichedTitle.docSentiment.type=positive&count=25&outputMode=json"

watsonnews

To find out more about this service read the documentation and watch the videos “Building With Watson – Using the News API” and “Using AlchemyAPI for Finance."

There is also an online demo where you can enter your own queries. A more sophisticated application is the “News Explorer." My colleague Jonathan Kaufman open sourced another sample “Election Insights."

The Integration Zone is proudly sponsored by CA Technologies. Learn from expert microservices and API presentations at the Modernizing Application Architectures Virtual Summit Series.

Topics:
bluemix

Published at DZone with permission of Niklas Heidloff, DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

THE DZONE NEWSLETTER

Dev Resources & Solutions Straight to Your Inbox

Thanks for subscribing!

Awesome! Check your inbox to verify your email so you can start receiving the latest in tech news and resources.

X

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}