This project integrates various data sources with Google Sheets and BigQuery using Cloud Functions. It is structured to handle different data processing and transfer needs efficiently.
graph TD
A[MongoDB] -->|Cloud Function: Dataflow Invocation| B[Dataflow: MongoDB Data Transfer]
B -->|Import to DataSet| I[BigQuery: DataSet]
I -->|Deduplication| P[Cloud Function: Deduplication]
P -->|Update DataSet| I
I -->|Direct to Sheets| K[Google Sheets]
C[CloudSQL] -->|Cloud Function: SQL Query| D[Direct to Sheets]
D --> K
E[Google Analytics] -->|API Data Fetch| F[Cloud Function: GA Query]
F --> K
G[Dune] -->|API Data Fetch| H[Cloud Function: Dune Query]
H --> K
L[Cloud Scheduler: Daily Data Transfer] -->|Trigger| A
L -->|Trigger| P
L -->|Schedule| D
L -->|Schedule| F
L -->|Schedule| H
style A fill:#f9f,stroke:#333,stroke-width:2px
style B fill:#f9f,stroke:#333,stroke-width:2px
style C fill:#f9f,stroke:#333,stroke-width:2px
style E fill:#f9f,stroke:#333,stroke-width:2px
style G fill:#f9f,stroke:#333,stroke-width:2px
style I fill:#9cf,stroke:#333,stroke-width:2px
style K fill:#9cf,stroke:#333,stroke-width:2px
style L fill:#ff9,stroke:#333,stroke-width:4px
style P fill:#f66,stroke:#333,stroke-width:2px
- 📜 LICENSE: Contains the MIT License details for this project.
- 📄 README.md: This file.
- 🔑 key
terraform.json
- Stores the Terraform configuration key.
- 📦 modules: Terraform modules for different infrastructure components.
- 🌐 gcs_buckets
- Management of Google Cloud Storage buckets.
- 🗄️ mysql
- Manages MySQL configurations, including read replicas.
- 🌍 network
- Network configurations and related components like firewall rules and subnets.
- 🔐 service_accounts
- Manages service accounts configurations.
- 🌐 gcs_buckets
- 🔧 project/somaz-bigquery: Contains Cloud Functions for data processing and transfer.
- 📈 analytics-to-sheet-new-web-visitors
- Retrieves new web visitors count from Google Analytics and inputs it into Google Sheets.
- 🌏 analytics-to-sheet-new-web-visitors-country
- Fetches country-wise new web visitor counts from Google Analytics for input into Google Sheets.
- 🔄 bigquery-deduplication
- Removes duplicate data entries in BigQuery imported from MongoDB.
- 📊 bigquery-to-sheet-multiple/simple/retention/wallet
- Functions for querying data from BigQuery and exporting to Google Sheets.
- 📋 copy-formula-to-sheet
- Copies cells with formulas in Google Sheets.
- 📋 copy-formula-monthly-to-sheet
- Copies cells with formulas in Google Sheets.
- 💱 matic-value-to-sheet
- Fetches the daily price of Matic from CoinGecko and inputs it into Google Sheets.
- 🔄 mongodb-to-bigquery
- Transforms data from MongoDB for export to BigQuery.
- 🌐 onchain-agent-common-to-sheet
- Imports Onchain data from Dune API to Google Sheets.
- 🌐 onchain-agent-epic-to-sheet
- Imports Onchain data from Dune API to Google Sheets.
- 🌐 onchain-agent-legend-to-sheet
- Imports Onchain data from Dune API to Google Sheets.
- 🌐 onchain-agent-rare-to-sheet
- Imports Onchain data from Dune API to Google Sheets.
- 🌐 onchain-agent-uncommon-to-sheet
- Imports Onchain data from Dune API to Google Sheets.
- 🌐 onchain-materials-dp-chip-to-sheet
- Imports Onchain data from Dune API to Google Sheets.
- 🌐 onchain-materials-skill-exchange-ticket-to-sheet
- Imports Onchain data from Dune API to Google Sheets.
- 🌐 onchain-pack-basic-epic1-to-sheet
- Imports Onchain data from Dune API to Google Sheets.
- 🌐 onchain-quest2-daily-global-to-sheet
- Imports Onchain data from Dune API to Google Sheets. ...
- 📈 analytics-to-sheet-new-web-visitors
- 🔐 Service Accounts: Only Service Accounts from your project can be used with Cloud Functions and Cloud Scheduler.
- 🔗 API Usage:
- For GA4, the Analytics Reporting API is not available.
- However, the Google Analytics Data API can be used.
- To use the Dune API for Onchain data, you will need to create an API Key and choose an appropriate billing plan.
This project is licensed under the MIT License - see the LICENSE file for details.