Coder Social home page Coder Social logo

awbeta's Introduction

AWBeta

Video demo

Screens

Demo Image

Demo Image

Idea

Everybody is ordering more and more items from the internet and keeping track of their location throughout delivery is paramount. Unfortunately not all couriering companies offer good enough auto tracking options (at least in Romania, this is the case).

So, AWBot is a messenger bot that is going to give you the current status of your package, the history of all changes and an option to subscribe to any status modifications (the bot giving you message when an update comes through).

How does it work

By providing an AWB, the BackEnd is going to automatically infer the providing couriering firm and crawl it's website in order to retrieve the status. (or call their API if they have one)

I am using WitAI in order to map out different kinds of AWBs to couriering firms and to decode user intent, that can be:

  • request status of AWB
  • request all history
  • subscribe to changes from now on

If the couriering firm name cannot be inferred from AWB, I am simply asking them to manually provide the name.

These are the entities defined in Wit:

  • Demo Image

The architecture of the program is build with modularity in mind, so that at anytime the messaging platform of the bot can be changed, also there can be added support for new couriering firms.

The interface for the both types of entities being:

type IChat interface {
	HandleMessages(messageReceivedCallBack func(string, string) []string)
	SendMessage(userId string, msgs []string)
}
type ISolver interface {
	updateStatuses() SolverResponse

	GetStatuses() ([]string, SolverResponse)
	GetLastStatus() ([]string, SolverResponse)
	GetAwb() string
}

Technologies used

  • WitAI

BackEnd:

  • GO

The Project was realised between 2nd and 3rd year of University (summer of 2018)

awbeta's People

Contributors

msorins avatar

Stargazers

 avatar

Watchers

James Cloos avatar  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.