Lucè Brùlè Lucè Brùlè - 11 months ago 92
PHP Question

DHL Tracking Api and PHP

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?

Best regards,

Answer Source

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.

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.