In today's world major websites offer API to give developer major access to their web services. But it is pretty difficult task as for website have different API's standards and rules and way of accessing it is also different.
Read this post on tutkiun.com