You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+31-25Lines changed: 31 additions & 25 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,18 +1,26 @@
1
-
# garf - Framework for interacting with reporting APIs
1
+
# garf - Python library for interacting with reporting APIs
2
2
3
-
`garf` is a framework for building various connectors to reporting API that provides
3
+
`garf` is a Python library for building various connectors to reporting API that provides
4
4
users with a SQL-like interface to specify what needs to be extracted from the API.
5
5
6
-
It allows you to define SQL-like queries alongside aliases and custom extractors and specify where the results of such query should be stored.\
7
-
Based on a query `garf` builds the correct request to a reporting API, parses response
8
-
and transform it into a structure suitable for writing data.
6
+
Write a query and `garf` will do the rest- build the correct request to an API, parse response
7
+
and writes it virtually anywhere.
9
8
10
9
## Key features
11
10
12
-
* SQL-like syntax to interact with reporting APIs
13
-
* Built-in support for writing data into various local / remote storage
14
-
* Available as library, CLI, FastAPI endpoint
15
-
* Easily extendable to support various APIs
11
+
* Rich [SQL-like syntax](https://google.github.io/garf/usage/queries/) to interact with reporting APIs.
12
+
* Built-in support for [writing data](https://google.github.io/garf/usage/writers/) into various local / remote storage.
13
+
* Built-in support for post-processing saved data in [BigQuery](https://google.github.io/garf/usage/bq-executor/) & [SQL](https://google.github.io/garf/usage/sql-executor/) databases.
14
+
* Easily [extendable](https://google.github.io/garf/development/overview/) to support various APIs.
15
+
* Available as library, CLI, FastAPI endpoint.
16
+
17
+
18
+
## Supported APIs
19
+
20
+
*[YouTube Data API](https://google.github.io/garf/fetchers/youtube-data-api/)
*`<QUERIES>`- local or remote path(s) to files with queries.
22
-
*`<API_SOURCE>`- type of API to use. Based on that the appropriate report fetcher will be initialized.
23
-
*`<OUTPUT_TYPE>` - output supported by [`garf-io` library](../garf_io/README.md).
21
+
*`query`- local or remote path(s) to files with queries.
22
+
*`source`- type of API to use. Based on that the appropriate report fetcher will be initialized.
23
+
*`output` - output supported by [`garf-io` library](https://google.github.io/garf/usage/writers/).
24
24
25
25
If your report fetcher requires additional parameters you can pass them via key value pairs under `--source.` argument, i.e.`--source.regionCode='US'` - to get data only from *US*.
26
26
> Concrete `--source` parameters are dependent on a particular report fetcher and should be looked up in a documentation for this fetcher.
Copy file name to clipboardExpand all lines: docs/get-started/index.md
+1-3Lines changed: 1 addition & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,8 +1,6 @@
1
1
# Overview
2
2
3
-
Garf allows you to define SQL-like queries alongside aliases and custom extractors and specify where the results of such query should be stored.
4
-
Based on such a query the library constructs the correct query to a reporting API of your choice, automatically extract all necessary fields from API schema
5
-
and transform them into a structure suitable for writing data.
0 commit comments