Giter Club home page Giter Club logo

indian-courier-api's Introduction

Indian Courier Tracking Service API

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

Get Request
Service Providers Api EndPoints
Ekart localhost:5050/ekart/{TrackingId}
Ecom localhost:5050/ecom/{TrackingId}
Delhivery localhost:5050/delhivery/{TrackingId}
Xpressbees localhost:5050/xpressbees/{TrackingId}
Bluedart localhost:5050/bluedart/{TrackingId}
Gati localhost:5050/gati/{TrackingId}
DTDC localhost:5050/dtdc/{TrackingId}
Shadowfax localhost:5050/shadowfax/{TrackingId}
DHL localhost:5050/dhl/{TrackingId}
Maruti(Beta) localhost:5050/dhl/{TrackingId} (Premium)
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"
    },

Deployed on Heroku

Now you can use directly heroku end point and get the tracking details as json response

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

trackingId = Your Parcel Tracking id like-> FMPC0279658213

https://indian-courier-api.herokuapp.com/{courier_provider}/{trackingId}

Replace courier_provider and trackingId in above api to get your tracking json response

Example ->

https://indian-courier-api.herokuapp.com/ekart/FMPC0279658213

indian-courier-api's People

Contributors

dependabot[bot] avatar rajatdhoot123 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.