Coder Social home page Coder Social logo

rajatdhoot123 / indian-courier-api Goto Github PK

View Code? Open in Web Editor NEW
53.0 8.0 25.0 177 KB

API to track parcel from various Indian Logistics Providers

JavaScript 95.61% CSS 4.39%
courier indian-courier courier-tracking tracking ekart delhivery ecom dtdc gati parcel

indian-courier-api's Introduction

Indian Courier Tracking Service

Track your Parcels directly here

Getting Started

This project is based on nodejs help to track the courier servies provider in India.

You can use this project to build your courier tracking app as it return the response in json format.

How to Start

-->You can download zip or git clone https://github.com/rajatdhoot123/indian-courier-api.git

-->You can install all dependency by running command on bash(Terminal): npm install

-->Then run: yarn start or npm start

-->Then Open Browser and hit url mentioned below like

Example

If You want to track Ekart with Tracking Id: FMPC0279658213 then in chrome visit url localhost:5050/ekart/FMPC0279658213

And then you will get Json Object with all tracking Details

Current Supported Courier service and their endpoints

Service Providers Status
Ekart Working
Ecom Working
Delhivery Working
Xpressbees NA
Bluedart Working
Gati NA
DTDC Working
Shadowfax NA
DHL Working
Maruti(Beta) Working
Tip: Directly insert tracking id in api end point instead of {TrackingId}
API Respone Format

If your request is successfull then response will contain three keys i.e. location, detail, date. Check the example below.

Example

    {
        "location": "BENGALURU",
        "detail": "Shipment delivered",
        "date": "26 Mar, 2018 12:50 hrs"
    },

API RUN OVER AFTERSHIP

courier_provider = ekart | ecom | delhivery | xpressbees | bluedart | dtdc | gati | shadowfax

trackingId = Your Parcel Tracking id like-> FMPC0279658213

http://localhost:3000/api/track/{courier_provider}/{trackingId}

indian-courier-api's People

Contributors

rajatdhoot123 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

indian-courier-api's Issues

Gati API

You can use Gati's mobile API:

curl -d "dktno={tracking_no}" https://www.gati.com/gwebforms/GatijsonDktTrack3.jsp

(FWIW... For scraping, 'curl to code' approach is much easier approach https://github.com/NickCarneiro/curlconverter https://curl.trillworks.com/ )

Side notes:

  1. Above mobile API is in sync with https://www.gati.com/track-by-docket/
  2. https://www.gatikwe.com/docket-tracker/ returns even old records.. unlike https://www.gati.com/track-by-docket/
  3. Sample docket numbers:
    1. ROT5(123282680) - new, will work in both Gati and GatiKwe
    2. ROT5(465351778) - old, will work only in GatiKwe

Error Message

{"error":{"message":"tabletojson.convertUrl is not a function"}}

Can you please let me know the solution for this error.

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.