如何通过他们的API获取UPS投递进展? [英] How to fetch UPS Delivery Progress through their APIs?

查看:330
本文介绍了如何通过他们的API获取UPS投递进展?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我发现一对夫妇PHP类网上说利用UPS跟踪API,但问题是,我没有得到整个路线......我只得到了状态(说如果它已经交付或不 - 伴随着大量的详细信息,我不需要为我在做什么)。

I found a couple of PHP Classes online that utilizes the UPS Tracking API, but the problem is that I don't get the whole route... I only get the status (saying if it was already delivered or not -- along with a lot more info that I don't need for what I'm doing).

我知道这是可能的,因为我看到很多网站在做这一切的时候这个功能,比如之一:

I know it's possible because I see a lot of sites doing it all the time such as this one:

http://www.packagetrackr.com/track/1Z0766Y54242241130

(别说eBay,亚马逊等)。

(Not to mention eBay, Amazon, etc).

我再次使用具有以下URL UPS跟踪API:
https://www.ups.com/ups.app/xml/Track (连同在XML有效载荷等)

Again I am using the UPS Tracking API with the following URL: https://www.ups.com/ups.app/xml/Track (along with the XML payloads, etc)

感谢您。

推荐答案

有越来越雕像没有标准的方式,你必须解析UPS网站

there's no standard way of getting statues, you'll have to parse the UPS website

这篇关于如何通过他们的API获取UPS投递进展?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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