I use the AlchemyData News API to search for news articles by category to receive sentiment and company information.
Is there a way to instead of searching for an article, to feed an Article URL or headline to the service to have the article ingested to get sentiment and company info?
You want to use the AlchemyLanguage API, specifically the entity extraction feature, to get this type of information about a specific article or body of text.
For example, you can issue
Related
I'm planning to create a news website using twitter API to fetch tweets of specific news resource accounts. Is there anyway to categorize them into sports, break news, culture ... etc?
Here's the example of sample timeline result
https://developer.twitter.com/en/docs/tweets/timelines/api-reference/get-statuses-user_timeline
Aside from doing your own post processing with location, text or bio NLP, this isn't something included from Twitter in the raw Tweet payload today. However this could be a good feature request for endpoints built through the new Labs program that Twitter is running.
The Alchemy News API has many fields that can be retrieved when fetching news articles. However, the name of the publication that originally published the article does not seem to be one of them. This seems like an unlikely omission. Am I just not seeing it?
We don't have that field in the API.
Per the DSIRE USA site (http://www.dsireusa.org/resources/data-and-tools/), they have a Sparql endpoint for the public to use: http://virtuoso.dsireusa.org:8890/sparql. However, I cannot figure out how to find the data via this endpoint. It's got a nice interface to input queries, so I try to follow guides online about how to discover stuff and I'm getting results back but I end up just getting a list of types, and none of those types seem at all related to what I'm looking for.
The website has a limited API interface as well, which has objects called 'programs', 'sectors', 'utilities', etc. and they have their own interface that filters by zip code, city, state, etc. However, they suggest the public user their Sparql endpoint to query this data. The problem is, I can't find anything from this Sparql endpoint that seems to match any of these object names/types.
Can anyone take a look and tell me how I can find a table or set of objects called 'program' or 'programs' from this endpoint?
I have integrated the Amazon MWS api.For searching matching products from amazon i have used ListMatchingProducts as operation. I got the response as XML but in XML Some of the information isn't provided by the Amazon MWS API is there any other way to get it? The following information is not able to get from api response xml.
How do we get more pages of results beyond the first page? Right now we only get the first.
We cannot find big images for products, only getting small images
We cannot find the detailpageurl for products.
Where do we get the description? The only thing we are able to pull right now is the product "Features" but no description.
How do you search by Amazon nodes? All we see is search by keywords, but we use nodes all the time in the old Amazon PA-API.
For larger images, you can substitute out the numbers following "_SL" in the image name for the desired width. ie: SL160.jpg becomes SL400.jpg for a 400px width image.
A quick version of the detail page URL can be constructed by appending the ASIN to http://www.amazon.com/dp/
I don't think the other functionality that you desired is available through the MWS Products API.
I'm trying to automate the addition to and management of our products on Amazon. Looking at the API documentation for the MWS API it doesn't look like there's a way to determine if a product has already been added to Amazon by another seller and if so what its attributes are.
We are building a new product database for all the products we sell and have a table specifically for Amazon attribute data fields (ASIN, etc.). If Product information is already on Amazon, we'd like to pull that data via API and store it to our own database as well.
If you attempt to add a product via CSV and that product already exists on Amazon (and your attributes are in any way different ("m" != "medium") you'll receive and error. In that case you can just piggy back that existing product information and just upload a CSV with your price and quantity for a particular ASIN/SKU/UPC. We'd like to do away with uploading CSV files and again, have our own product table for Amazon attributes.
Will I need to also leverage Amazon's Product Advertising API to determine this or can it be done via MWS?
The documentation for Amazon's APIs aren't exactly fantastic and it's been slow going trying to sort through it all.
We're working with Ruby.
Amazon's Merchant Web Services API is limited to your Merchant account. So the answer to your question is that yes you will need to use Amazon's Product Advertising API to get information about products that aren't already listed.
That being said you should be aware that there are new restrictions being placed on the Product Advertising API that will limit the number of calls that you can make on a daily basis to 2,000. In addition to this you will have to get an Associate ID that will be tied to your account and needs to be sent with any request.
Also, I find that the information collected using the Product Advertising API is sometimes out of sync with the site and have resorted to scraping the info from the site itself. This has more overhead but you can be assured that the data is current. Of course this is only useful if you already have an ASIN or are dealing strictly with books (which use the ISBN as an ASIN) or Music CDs (which I believe use the UPC as an ASIN).
The MWS Products API is where you will find this functionality. Specifically the GetMatchingProductForId operation.
http://docs.developer.amazonservices.com/en_US/products/Products_GetMatchingProductForId.html
(This API probably wasn't available at the time of the original question)