Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[feat](ig dag): add Instagram insight dag into airflow #147

Merged
merged 9 commits into from
Aug 18, 2024

Conversation

GeekAngus
Copy link
Collaborator

Types of changes

  • New feature

Description

Add the airflow DAG for IG post insight, get the likes and comments counts and load to BigQuery tables:
ods_pycontw_ig_posts, ods_pycontw_ig_posts_insights with the same schema as twitter insight

Steps to Test This Pull Request

Update the code to local docker, or gcloud, add IG_ACCESS_TOKEN key in airflow Variable, the value need to get from the IG API owner

Expected behavior

The tables in BQ will be created and the table will be filled with correct data

dags/ods/ig_post_insights/udfs.py Outdated Show resolved Hide resolved
dags/ods/ig_post_insights/udfs.py Outdated Show resolved Hide resolved
dags/ods/ig_post_insights/udfs.py Outdated Show resolved Hide resolved
dags/ods/ig_post_insights/udfs.py Outdated Show resolved Hide resolved
dags/ods/ig_post_insights/udfs.py Outdated Show resolved Hide resolved
dags/ods/ig_post_insights/udfs.py Outdated Show resolved Hide resolved
@henry410213028 henry410213028 merged commit 9167206 into pycontw:master Aug 18, 2024
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants