Contents Menu Expand Light mode Dark mode Auto light/dark, in light mode Auto light/dark, in dark mode Skip to content
python-gitlab v5.6.0
python-gitlab v5.6.0

Table of Contents

  • Using the CLI
  • Using the REST API
  • Advanced usage
  • Using the GraphQL API (beta)
  • CLI examples
  • API examples
    • Access requests
    • Appearance
    • Applications
    • Award Emojis
    • Badges
    • Branches
    • Migrations (Bulk Imports)
    • Broadcast messages
    • CI Lint
    • Cluster agents
    • Commits
    • Deploy keys
    • Deploy tokens
    • Deployments
    • Discussions
    • Draft Notes
    • Environments
    • Events
    • Epics
    • Features flags
    • Geo nodes
    • Groups
    • Group Access Tokens
    • Invitations
    • Issues
    • Iterations
    • CI/CD job token scope
    • Keys
    • Issue boards
    • Labels
    • Notification settings
    • Member Roles
    • Merge Trains
    • Merge requests
    • Merge request approvals settings
    • Milestones
    • Namespaces
    • Notes
    • Packages
    • Pages and Pages domains
    • Personal Access Tokens
    • Pipelines and Jobs
    • Projects
    • Project Access Tokens
    • Protected branches
    • Protected container repositories
    • Protected environments
    • Protected packages
    • Project Pull Mirror
    • Releases
    • Runners
    • Project Remote Mirrors
    • Registry Repositories
    • Registry Repository Tags
    • Resource Groups
    • Search API
    • Secure Files
    • Settings
    • Snippets
    • Statistics
    • External Status Checks
    • System hooks
    • Templates
    • Todos
    • Topics
    • Users and current user
    • CI/CD Variables
    • Sidekiq metrics
    • Wiki pages
    • Clusters (DEPRECATED)
  • API reference (gitlab package)
    • gitlab.v4 package
  • CLI reference (gitlab command)
  • Lower-level APIs
  • CHANGELOG
  • Release notes
  • FAQ
Back to top
View this page

Statistics¶

Reference¶

  • v4 API:

    • gitlab.v4.objects.ApplicationStatistics

    • gitlab.v4.objects.ApplicationStatisticsManager

    • gitlab.Gitlab.statistics

  • GitLab API: https://docs.gitlab.com/api/statistics

Examples¶

Get the statistics:

statistics = gl.statistics.get()
Next
External Status Checks
Previous
Snippets
Copyright © Copyright 2013-2019 Gauvain Pocentek, 2019-2023 python-gitlab team
Made with Sphinx and @pradyunsg's Furo
On this page
  • Statistics
    • Reference
    • Examples