如何正确地调用eBay的交易API并显示结果 [英] How to properly call the eBay Trading API and display the results

查看:202
本文介绍了如何正确地调用eBay的交易API并显示结果的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图建立在我的工作中使用的工具比较了一些非常简单的数据。所有的数据通过经由的GetItem呼叫易趣交易API是可用的。从eBay的开发者网站上的交易API指南样品输入和输出code,使电话的GetItem中显示XML。但是我对如何编写HTML / JavaScript的东西,使通话仍然感到困惑,然后显示在呼叫我需要的数据。我有一个HTML的经验,并通过CSS,Javascript和对W3schools.com XML的导游都读,但不知道如何放在一起我学到的东西来实现这一目标。有什么,除了我读过,可以帮助我了解如何实现这一目标?或在$ C $建议C本身?

I am attempting to build a tool for use at my work that compares some very simple data. All of the data is available through the eBay trading API via the GetItem call. In the Trading API guide from the eBay Developer website the sample input and output code to make the GetItem call is shown in XML. However I'm still confused on how to write something in HTML/Javascript that makes the call and then displays the data from the call I need. I have experience with HTML and have read through the CSS, Javascript, and XML guides on W3schools.com but don't know how to put together what I've learned to accomplish this end. Is there something in addition to what I've read that can help me understand how to accomplish this goal? Or suggestions on the code itself?

帮助将大大AP $ P $将用于我的整个部门在eBay的客户支持(如果我能得到它的工作)在这里。

Help would greatly be appreciated as this tool will be used (if I can get it to work) by my whole department here at eBay Customer Support.

推荐答案

所有你需要获得与eBay的开发者计划从它的官方网站。你可以从那里得到更多的支持和文档。如果您告诉我们您正在使用哪种语言会更有帮助。作为API调用需要作出任何具体的语言,而不是只用HTML /的Javascript。 这里是一个示例code,我偶然发现在eBay的官方开发者网站。它是用Perl编写的,但你可以得到编程流的想法,然后可以隐蔽在你选择的任何语言​​。

First of all you need to get registered with the eBay's developer program from its official website. You can get more support and documentation from there. It would be more helpful if you told us which language you are working with. As the API calls need to be made any specific language and not just HTML/Javascript. Here is a sample code that i came across on the official developer site of eBay. It is written in Perl but you can get the idea of the flow of programming and then can covert it in any language of your choice.

我希望它能帮助,或者至少可以让你在正确的方向开始。

I hope it helps or at least gets you started in the right direction.

这篇关于如何正确地调用eBay的交易API并显示结果的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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