从承运商处获取所有包裹的列表

发布于 2024-09-12 17:56:57 字数 157 浏览 7 评论 0原文

我一直在研究 UPS、FedEx、USPS 等的 API,但似乎找不到任何方法来提取给定用户的所有跟踪信息。我只看到通过跟踪号码提取信息的方法。有谁能够找到获取这些数据的方法吗?在我看来,这些大型运营商不会以简单的方式提供此信息,这似乎很愚蠢。

我正在尝试在 Rails 中实现这一点。

I've been looking at the APIs for UPS, FedEx, USPS, etc, and I can't seem to find any method of pulling all tracking info for a given user. I only see methods that pull info via a tracking number. Has anyone been able to find a way to get at this data? Seems silly to me that these huge carriers wouldn't supply this info in an easy method.

I'm trying to accomplish this in Rails.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

摘星┃星的人 2024-09-19 17:56:57

我们能够与 UPS Quantum View 甚至 FedEx Insight 集成。这些服务将为您提供记入您的 UPS/FedEx 帐户的所有入库和出库货件的列表。您可以获得每件货件的信息:追踪号码、重量、发件人和收件人信息(公司名称、城市、州、国家)。

要使用 UPS Quantum View 的 API 提取信息,您需要获取所谓的访问密钥,并且需要创建订阅:一个用于入库货件,一份用于出境。如果您已有 UPS 运输帐户,则可以在 ups.com 上完成此操作。您无需等待,立即提供。我们有一个视频介绍如何获取密钥和设置订阅。它位于 easytag.net帮助部分。视频标题为获取 UPS 访问密钥

创建对 UPS 的 API 请求时,您需要包含密钥和订阅名称。

We were able to integrate with UPS Quantum View and even with FedEx Insight. These services will give you a list of all inbound and outbound shipments that are billed to your UPS/FedEx account. You can get info on every piece of each shipment: tracking numbers, weight, shipper and recipient info (Company name, city, state, country).

To pull information from UPS Quantum View using their API you will need to obtain a so-called Access Key, and you'll need to create Subscriptions: one for inbound shipments, one for outbound ones. This can be done on ups.com if you already have a UPS shipping account. You don't have to wait, it's provided instantly. We have a video of how to get the key and set up the subscriptions. It's on easytag.net in the Help section. The video title is Obtaining a UPS Access Key.

When creating API requests to UPS, you'll need to include a key and a subscription name.

夜访吸血鬼 2024-09-19 17:56:57

UPS 有一个 Quantum View API。 Quantum View 是他们的服务,允许通过帐户进行跟踪等,而不仅仅是个人跟踪号码。我想这会给你你所需要的。我没有帐户,所以看不到他们详细的 API 文档,所以我只是猜测。

UPS has a Quantum View API. Quantum View is their service that allows tracking, etc by account, not just individual tracking number. I assume that will get you what you need. I don't have an account so I can't see their detailed API documentation, so I'm just guessing.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文