Skip to content
Amit Patel edited this page Aug 5, 2016 · 1 revision

This document describes exposed APIs

API for Scrapping new URL.
URL:

/api/v1/scrapper.json

Method:

POST

Parameters:
Name Type Description Remarks
url String url to the page for scrapping Mandatory parameter
Please Refer Sample Request and Response:
Sample Request

scrapper-post-request

Sample Response
{
	"http://www.botreetechnologies.com": {
		"h1": [
			"Canvas To Cloud"
		],
		"h2": [
			"Productize",
			"Complex Problem Solving"
		],
		"h3": [
			"Objective",
			"Approach"
		],
		"link": [
			"http://www.botreetechnologies.com/canvas-to-cloud",
			"http://www.botreetechnologies.com/mission"
		]
	}
}
API for get scrapped data.
URL:

/api/v1/scrapper.json

Method:

GET

Parameters:

No Parameters Required.

Please Refer Sample Request and Response:
Sample Request

scrapper-get-request

Sample Response
[
	"http://www.botreetechnologies.com": {
		"h1": [
			"Canvas To Cloud"
		],
		"h2": [
			"Productize",
			"Complex Problem Solving"
		],
		"h3": [
			"Objective",
			"Approach"
		],
		"link": [
			"http://www.botreetechnologies.com/canvas-to-cloud",
			"http://www.botreetechnologies.com/mission"
		]
	},
	"http://www.google.com": {
		"h1": [
			"Seach Engine guru"
		],
		"h2": [
			"Docs",
			"Calendar"
		],
		"h3": [
			"Connect",
			"Share"
		],
		"link": [
			"http://www.mail.google.com",
			"http://www.calendar.google.com"
		]
	}
]