listPagesAggs: Get Aggregate Queries for a specific OQL

Description Usage Arguments Details Value Author(s) Examples

View source: R/listPages.R

Description

Get Aggregate Queries for a specific OQL

Usage

1
listPagesAggs(crawlId, oqlList)

Arguments

crawlId

ID of your crawl

oqlList

json of your OQL

Details

<http://developer.oncrawl.com/#OnCrawl-Query-Language>

ResCode 400 : Returned when the request has incompatible values or does not match the API specification. 401 : Returned when the request is not authenticated. 403 : Returned the current quota does not allow the action to be performed. 404 : Returned when any of resource(s) referred in the request is not found. 403 : Returned when the request is authenticated but the action is not allowed. 409 : Returned when the requested operation is not allowed for current state of the resource. 500 : Internal error

Value

Json

Author(s)

Vincent Terrasi

Examples

1
2
3
4
5
## Not run: 
agg <- listPagesAggs(YOURCRAWLID, YOURJSON)
page_crawled = agg[[1]]$rows

## End(Not run)

oncrawlR documentation built on Jan. 31, 2020, 5:09 p.m.