readthedocs / readthedocs.org

The source code that powers readthedocs.org
https://readthedocs.org/
MIT License
8k stars 3.58k forks source link

API: download `.csv` search/traffic analytics #11362

Open ericsnekbytes opened 4 months ago

ericsnekbytes commented 4 months ago

Jupyter uses traffic and search metrics CSV's from the admin panel, and they are currently downloaded via a manual process. Allowing automations to authenticate and download this information would reduce the complexity of building automated analytics with ReadTheDocs data.

humitos commented 4 months ago

I assume you are talking about the CSV data exposed in the dashboard under the settings tab for each project, right? I'm moving this issue to readthedocs.org repository which is makes more sense to be there.

ericsnekbytes commented 4 months ago

@humitos Yes, specifically under Admin > Traffic Analytics / Search Analytics. Thanks!

ericsnekbytes commented 4 months ago

For more context, Jupyter has over a dozen subprojects (with corresponding RTD accounts), so token access would allow us to store tokens for authentication when fetching data rather than storing actual credentials (thus exposing passwords for every account to a broader group of people).

astrojuanlu commented 1 month ago

We would love to have programmatic access to RTD analytics as well 👍🏼