DHL Tracking Api and PHP

前端 未结 4 1558
北恋
北恋 2021-02-09 06:03

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 exa

4条回答
  •  北恋
    北恋 (楼主)
    2021-02-09 06:23

    https://github.com/jklz/DHL-API-Tracking-PHP

    It is used to connect into DHL using the XML-PI to track shipments using the Air Way Bill. it can handle a single tracking number or as many as you feed into it (has been tested with 250 and other then taking a little time to run had no problems). automatically takes and breaks the array of tracking numbers into chunks and then sends the request to DHL making sure not to pass the max number that can be tracked per request then returns the results as a array.

提交回复
热议问题