Skip to content

Commit

Permalink
Remove audience demographic fields
Browse files Browse the repository at this point in the history
  • Loading branch information
dkasi938 committed Jan 3, 2024
1 parent bc93032 commit 7acb82f
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 14 deletions.
24 changes: 12 additions & 12 deletions tap_instagram/streams.py
Original file line number Diff line number Diff line change
Expand Up @@ -872,18 +872,18 @@ class UserInsightsOnlineFollowersStream(UserInsightsStream):
# TODO: Add note about online_followers seemingly only going back 30 days


class UserInsightsAudienceStream(UserInsightsStream):
"""Define custom stream."""

name = "user_insights_audience"
metrics = [
"audience_city",
"audience_country",
"audience_gender_age",
"audience_locale",
]
time_period = "lifetime"
has_pagination = False
# class UserInsightsAudienceStream(UserInsightsStream):
# """Define custom stream."""
#
# name = "user_insights_audience"
# metrics = [
# "audience_city",
# "audience_country",
# "audience_gender_age",
# "audience_locale",
# ]
# time_period = "lifetime"
# has_pagination = False


class UserInsightsFollowersStream(UserInsightsStream):
Expand Down
2 changes: 0 additions & 2 deletions tap_instagram/tap.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
StoriesStream,
StoryInsightsStream,
UserInsights28DayStream,
UserInsightsAudienceStream,
UserInsightsDailyStream,
UserInsightsFollowersStream,
UserInsightsOnlineFollowersStream,
Expand All @@ -28,7 +27,6 @@
StoriesStream,
StoryInsightsStream,
UserInsights28DayStream,
UserInsightsAudienceStream,
UserInsightsDailyStream,
UserInsightsFollowersStream,
UserInsightsOnlineFollowersStream,
Expand Down

0 comments on commit 7acb82f

Please sign in to comment.