如何在 PHP 中使用亚马逊的 API 来搜索书籍? [英] How can I use Amazon's API in PHP to search for books?

查看:24
本文介绍了如何在 PHP 中使用亚马逊的 API 来搜索书籍?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在开发一款用于图书分享、评论和推荐的 Facebook 应用.我在网上搜索,使用我能想到的每一个搜索词在谷歌上搜索,但我找不到任何关于如何访问 Amazon.com API 以获取书籍信息的教程.

I'm working on a Facebook app for book sharing, reviewing, and recommendations. I've scoured the web, searched Google using every search phrase I could think of, but I could not find any tutorials on how to access the Amazon.com API for book information.

我注册了一个 AWS 账户,但即使是他们网站上的教程也没有帮助我.它们都面向使用云计算进行文件存储和处理,但这不是我想要的.

I signed up for an AWS account, but even the tutorials on their website didn't help me one bit. They're all geared toward using cloud computing for file storage and processing, but that's not what I want.

我只想访问他们的 API 来搜索书籍信息.有点像 http://openlibrary.org/ 是如何做的,它是一个简单的 URL 调用来获取有关书(但他们的数据库不像亚马逊那样多).

I just want to access their API to search info on books. Kind of like how http://openlibrary.org/ does it, where it's a simple URL call to get information on a book (but their databases aren't nearly as populated as Amazon's).

为什么在亚马逊的 AWS 网站上很难找到我需要的信息?如果有人可以提供帮助,我将不胜感激.

Why is it so hard to find the information I need on Amazon's AWS site? If anybody could help, I would greatly appreciate it.

推荐答案

您可以使用 Zend_Service_Amazon.从我看来,它相当容易使用,对于简单的查询,示例应该足够了.

You could let Zend Framework do the work for you using Zend_Service_Amazon. From what I see it's fairly easy to use, and for simple queries the examples should be enough.

这篇关于如何在 PHP 中使用亚马逊的 API 来搜索书籍?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆