add analytics query command with metrics/dimensions registry#2
Merged
Conversation
- analytics query: raw query engine with full access to YouTube Analytics API supports all metrics, dimensions, filters, date ranges, sorting, and limits output formats: table, json, csv - analytics metrics: list and inspect available metrics filterable by group, shows core/monetary tags, detail view per metric - analytics dimensions: list and inspect available dimensions filterable by group, shows filter-only flag, detail view per dimension - registry module with 48 metrics and 25 dimensions includes descriptions, groups, core/monetary/filter-only flags validation with fuzzy matching for typo suggestions (levenshtein) - 22 new tests (39 total for analytics + registry)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
what
raw query engine for the youtube analytics api, plus self-documenting metrics/dimensions registry.
analytics query
direct access to the
reports.queryendpoint with full control over metrics, dimensions, filters, sorting, and date ranges. three output formats: table, json, csv.analytics metrics / dimensions
self-documenting registry of all 48 metrics and 25 dimensions from the youtube analytics api. browse by group, inspect individual metrics, get typo suggestions.
registry module
tests
22 new tests (39 total for analytics + registry), all passing. lint clean.