First off, I think you would be advised to use an off-the-shelf product - this kind of thing I imagine is extremely complex.
However, if you think you are up to it, then you need to look at these APIs :
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.