gscdump 0.9.2 → 0.11.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -5
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -124,15 +124,13 @@ import {
|
|
|
124
124
|
analyzeCannibalization,
|
|
125
125
|
analyzeDecay,
|
|
126
126
|
analyzeMovers,
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
} from 'gscdump'
|
|
127
|
+
} from '@gscdump/analysis'
|
|
128
|
+
import { fetchKeywordsWithComparison } from 'gscdump'
|
|
130
129
|
|
|
131
130
|
// Fetch data first
|
|
132
131
|
const { current, previous } = await fetchKeywordsWithComparison(auth, site, range)
|
|
133
132
|
|
|
134
133
|
// Run pure analysis on the data
|
|
135
|
-
const striking = analyzeStrikingDistance(current)
|
|
136
134
|
const movers = analyzeMovers(current, previous)
|
|
137
135
|
const decay = analyzeDecay(current, previous)
|
|
138
136
|
const cannibalization = analyzeCannibalization(keywordPageData)
|
|
@@ -146,7 +144,7 @@ const cannibalization = analyzeCannibalization(keywordPageData)
|
|
|
146
144
|
|
|
147
145
|
**Analytics:** `fetchAnalyticsWithComparison`, `fetchPagesWithComparison`, `fetchKeywordsWithComparison`, `fetchDevicesWithComparison`, `fetchCountriesWithComparison`, `fetchSearchAppearanceWithComparison`, `fetchDates`, `fetchDatesWithComparison`, `fetchPages`, `fetchPage`, `fetchKeyword`
|
|
148
146
|
|
|
149
|
-
**Analysis (Pure)
|
|
147
|
+
**Analysis (Pure)** — these live in `@gscdump/analysis`: `analyzeOpportunity`, `analyzeBrandSegmentation`, `analyzeConcentration`, `analyzeDecay`, `analyzeMovers`, `analyzeCannibalization`, `analyzeZeroClick`, `analyzeSeasonality`, `analyzeClustering`
|
|
150
148
|
|
|
151
149
|
**Low-level:** `gscClient`, `queryRecursive`, `queryRecursiveStream`, `createQueryBody`, `withPropertyAggregation`, `withSearchAppearance`, `withDataType`, `withFreshData`, `withFinalData`
|
|
152
150
|
|
package/package.json
CHANGED