DHL 追踪 Api 和 PHP [英] DHL Tracking Api and PHP

查看:36
本文介绍了DHL 追踪 Api 和 PHP的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我目前正在处理一个项目,我必须在其中获取数据包的状态(通过 DHL 发送).我读过 DHL API,它返回一个 XML,但不知何故那里没有好的例子.我找到了一些代码片段,但我不知道在哪里注册 API 密钥.

I'm currently working on a project, where i have to get the status of a packet (sent with DHL). I read about the DHL API, which return an XML, but somehow there are no good examples out there. I have found some code snippets, but i have no clue where to register for API Key's.

有人给我提供一些链接或示例吗?

Have anyone some links or examples for me?

最好的问候,卢卡斯

推荐答案

还有这个 PHP 客户端,可用于使用 DHL XML API.它可以处理 DHL 公开的所有不同服务.

There is also this PHP client that can be used to consume the DHL XML API. It can handle all the different services exposed by DHL.

https://github.com/alfallouji/DHL-API

此客户端不依赖或依赖任何框架,并且与您自己的代码集成应该相当容易.例如,您可以查看示例文件夹以了解如何使用它.

This client does not rely or depend on any framework and it should be fairly easy to integrate with your own code. You can check the samples folder for example on how to use it.

这篇关于DHL 追踪 Api 和 PHP的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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