Skip to content
This repository was archived by the owner on Jul 22, 2025. It is now read-only.
This repository was archived by the owner on Jul 22, 2025. It is now read-only.

Main API functionality to query for Figshare stats #1

@astrochun

Description

@astrochun

The Figshare stats API is available at: https://stats.figshare.com

We want a class with the following methods:

  • get_totals: Total stats (views, downloads, shares) either for article, author, collection, group, or project
    • get_user_totals: Calls get_totals to retrieve for author
  • get_timeline: Retrieve timeline of views, downloads, and shares
  • get_figshare_id: Retrieve Figshare profile ID
  • retrieve_institution_users: Retrieve institutional accounts
  • retrieve_institution_articles: Retrieve institutional public articles
  • get_institution_totals: Retrieve total views, downloads, and shares for articles or authors

While this issue focuses on the API, the best demonstration test of it is done through visualization. As such we need:

  • A visualization module with
    • plot_timeline method to illustrate timeline using an appropriate date axis style
    • plot_shares to overlay share data
    • A make_timeline_plots script to run for an institution

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions