Giter Site home page Giter Site logo

jnt-express-tracking-api's Introduction

J&T Express Tracking API

Return JSON formatted string of J&T Express Tracking details

Installation

composer require afzafri/jnt-express-tracking-api:dev-master

Usage

  • http://site.com/api.php?trackingNo=CODE
  • where CODE is your parcel tracking number
  • It will then return a JSON formatted string, you can parse the JSON string and do what you want with it.

Sample Response

{
  "http_code": 200,
  "error_msg": "No error",
  "message": "Record Found",
  "data": [
    {
      "date": "21/09/2020",
      "time": "17:41",
      "location": "Drop Point CDC KUALAKANGSAR 305",
      "city": "KUALA KANGSAR",
      "process": "Delivered",
      "remark": ""
    },
    {
      "date": "21/09/2020",
      "time": "11:00",
      "location": "Drop Point CDC KUALAKANGSAR 305",
      "city": "KUALA KANGSAR",
      "process": "Delivery",
      "remark": ""
    },
    {
      "date": "20/09/2020",
      "time": "17:44",
      "location": "Drop Point CDC KUALAKANGSAR 305",
      "city": "KUALA KANGSAR",
      "process": "On Hold",
      "remark": "Out of droppoint's business hour"
    },
    {
      "date": "19/09/2020",
      "time": "17:41",
      "location": "Drop Point CDC KUALAKANGSAR 305",
      "city": "KUALA KANGSAR",
      "process": "On Hold",
      "remark": "Out of droppoint's business hour"
    },
    {
      "date": "19/09/2020",
      "time": "09:17",
      "location": "Drop Point CDC KUALAKANGSAR 305",
      "city": "KUALA KANGSAR",
      "process": "Arrived",
      "remark": ""
    },
    {
      "date": "19/09/2020",
      "time": "07:02",
      "location": "Transit Center PRK GATEWAY",
      "city": "KAMPAR",
      "process": "Departure",
      "remark": ""
    },
    {
      "date": "19/09/2020",
      "time": "00:19",
      "location": "Transit Center PRK GATEWAY",
      "city": "KAMPAR",
      "process": "Arrived",
      "remark": ""
    },
    {
      "date": "18/09/2020",
      "time": "19:18",
      "location": "Transit Center PJS GATEWAY",
      "city": "KLANG",
      "process": "Arrived",
      "remark": ""
    },
    {
      "date": "18/09/2020",
      "time": "17:46",
      "location": "Drop Point DP SETIAALAM 01",
      "city": "PETALING",
      "process": "Departure",
      "remark": ""
    },
    {
      "date": "18/09/2020",
      "time": "17:25",
      "location": "Drop Point DP SETIAALAM 01",
      "city": "PETALING",
      "process": "Picked Up",
      "remark": ""
    }
  ],
  "info": {
    "creator": "Afif Zafri (afzafri)",
    "project_page": "https://github.com/afzafri/JNT-Express-Tracking-API",
    "date_updated": "22/09/2020"
  }
}

License

This library is under MIT license, please look at the LICENSE file

jnt-express-tracking-api's People

Contributors

afzafri avatar akifrabbani avatar ameershah48 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.