Skip to content

Commit 6e47256

Browse files
committed
bing-docs
1 parent 21604e5 commit 6e47256

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

sources/bing_webmaster/__init__.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,12 @@ def source(
2525
A dlt source for the Bing Webmaster api.
2626
It groups resources for the APIs which return organic search traffic statistics
2727
Args:
28-
site_urls: List[str]: A list of site_urls, e.g, ["dlthub.com", "dlthub.de"]. Use this if you need the weekly traffic per site_url and page
29-
site_url_pages: Iterable[Dict[str, str]]: A list of pairs of site_url and page. Use this if you need the weekly traffic per site_url, page, and query
28+
site_urls: List[str]: A list of site_urls to get weekly traffic statistics for
29+
site_url_pages: Iterable[Dict[str, str]]: A list of pairs of site_url and page for which to return weekly traffic per site_url, page, and query
3030
Returns:
3131
Sequence[DltResource]: A sequence of resources that can be selected from including page_stats and page_query_stats.
32+
Examples:
33+
>>> source(site_urls=["dlthub.de", "dlthub.com"], site_url_pages=[{"site_url": "dlthub.com", "page": "https://www.dlthub.com/docs"}])
3234
"""
3335
return (
3436
page_stats(site_urls),

0 commit comments

Comments
 (0)