internetarchive / internetarchive/openlibrary

Add method to get most viewed authors from GA

Open
#3,319 1 comment 0 reactions 0 assignees View on GitHub
Lead: @cdrini Priority: 3 Theme: Analytics Type: Feature Request
Dominant language
Python
Stars
6.7k
Forks
2k
Avg merge
2d 19h
Merged PRs (30d)
138

Description

Want a way to get most viewed authors in the past e.g. week from google analytics.

### Describe the problem that you'd like solved
Having a way to query google analytics from openlibrary repo would be _super_ useful in letting us show "trending" data. As a basic first step, let's get trending authors.

### Proposal & Constraints
- [ ] Cache aggressively; like maybe daily? Maybe weekly?
- [ ] Will need to GA API keys to production environments

### Additional context
- https://developers.google.com/analytics/devguides/reporting/core/v4/quickstart/service-py

### Stakeholders

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.