I've recently been trying to gather a small database of books that I have ISBNs for. My options are limited because I need, among other things, a description, which isn't common in services like this. From what I've gathered, one of the best ways to do this is using Amazon's API.
I've been here where people recommended using Amazon's API, and both there and here they mentioned that the old way used in those answers is now deprecated. Unfortunately, Amazon's own documentation for this thing is horrifically terrible, and I can't seem to find any resources to use it.
Does anyone have tips on what to do, or good places to learn how to do this with Amazon? If there are better alternatives, I'm also glad to take those.
I would go about this in two steps:
use Amazon's API to request the store URL of the book in question
details on the API request from the docs.
Amazon's API won't respond with the description you need, but it will respond with the URL of the page which contains that description. All you'll need to do is crawl that page, perhaps with something like npm crawler.
You'll find the description after the <div id="bookDescription_feature_div" class="feature" data-feature-name="bookDescription"> div of the crawled page.
Related
I have been using OpenCart for our site, I am really happy with it, it is an awesome platform that comes with many features and a big community around it. Can someone guide which CDN should is use? What are the important things in the website for which i have to use CDN services. I haven't managed to find any module for this. Any guidance would be appreciated.
Thanks,
Your question doesn't give us full information on what you want to accomplish. Also, there actually are some modules, that make CDN integration.
Also, most CDN services don't require a special plugin, bit can do their magic on the fly, for example like CloudFlare, and their setup is rather basic.
Here is a list of free modules:
https://www.opencart.com/index.php?route=marketplace/extension&filter_license=0&filter_search=cdn
For example, if you would like to have an ImageCDN - KeyCDN has this service and the module utilizes it. Juts an example.
Cloudflare has a good free account service and even better Pro (2nd level) plan, that is good enough for any starter shop. Paid plan has these extras:
Enhanced security with Web Application Firewall (WAF)
Enhanced performance with image and mobile optimization - lossless compression for images and WebP format
HTTP/2 prioritization
I am a very new developer who can write basic HTML (yes I know it's English), and is looking for a solution to a problem that I basically invented.
I recently bought a product called Doorbird, a very cool and well engineered IP Doorbell. The reason I bought it, is because it has an App, and integrates with IP phones and support video, and has a few bells and whistles, if you're not familiar with this product, I highly recommend looking at it.
The "problem" is that it does not integrate with Google Home, or Amazon Echo. However, it does have an API that allows you to go to the URL, login and unlock the door. I was looking into creating my own action that would have the Google Home login to the Doorbell and go to the unlock URL.
My issue is, I have no experience with this, but I pick things up very quickly, and believe in myself!
I already looked at the api.ai site from Google, and have signed up. It looked simple, but upon further investigation looks very complicated.
If anyone would be able to point me in the right direction I would be greatly appreciative.
Thanks in advance,
-Jack G
You need them to publish their REST api so that you can call the 'action' to unlock directly vs. having to go to a login page. You would probably set up oauth to have your server talk to theirs or use web headers. Ask their tech support if they support direct REST api using a security model.
I'm sure I sound like a total noob with this question, and I've looked at a couple posts that are basically asking the same question in the title, but the body didn't give anything helpful to my skill or knowledge level.
In this post the OP mentioned that they did some "digging and drilling" to find out that there was a web service in REST format. In another post I found that the OP was using "web console" to look at the activity of a website they were visiting.
I would really like to have more knowledge and methods for finding web services that I can reference and use is some of my new or updated applications, whether RESTful or not. In summary, how do I "dig and drill" to find that a site has a web service I can use programmatically?
The only sensible way to find web services that you can use is to ask.
If the service is intended for your use, then you will be told that.
If the service is not intended for your use, then you will be told that.
If you use a service that is not intended for your use, then that will generally be a bad thing.
I was wondering if anyone knows if ProgrammableWeb has a service-API, (such as REST), in order to query the repository for information about other services/apps that are published to the website?
Or perhaps even a 3rd-party one, that I so far haven’t been able to find?
If it doesn’t, does anyone know of other services/apps repositories that have APIs where information on the stored services can be retrieved? Such as the ratings by users, tags, etc.
Yes.
http://api.programmableweb.com/
In one of my project I am trying to retrieve some content from Sitecore (multilingual). Can anyone here point me to the right direction/ best way of doing it? I have seen in some of the posts it’s mentioned about the web service or REST API. Can anyone point to a documentation or code snippet on how to do it?
This is quite a vast topic, but Sitecore doesn't limit you here. The general note about it is mentioned in paragraph 1.2.7 "Web Services, AJAX, and other Internet Interfaces" of this article.
I would recommend you to explore the standard Sitecore web service (it is present in any Sitecore release). Type http://yourhost/sitecore/shell/webservice/service.asmx to get an idea of what it can offer. It consists of just basic operations, but those are enough for the most of cases.