搜索插件、代码仓与 APP 分类

插件详情v9.26.0

github

一个高级别的 GitHub API 客户端库,使用 GitHub 的 v3 API

AndroidiOSWebmacOSWindowsLinux
近 30 天下载
26.4万
喜欢数
165
Pub 分数
150

安装插件

flutter pub add github

插件介绍

基于插件公开信息、社区数据与项目使用情况整理的选型参考。

一个高级的 Flutter/Dart 库,用于与 GitHub 的 v3 API 进行交互,使开发者能够通过简单直观的方法获取仓库、问题、用户等信息。该库专为跨多个平台的易用性而设计,抽象了底层 HTTP 细节,同时保持对 GitHub API 功能的完全访问。非常适合需要实时集成 GitHub 数据的应用程序,例如开发者仪表板或 CI/CD 工具。

适合场景

  • 获取仓库信息
  • 管理拉取请求
  • 用户资料检索
  • 与 CI/CD 工作流程集成
  • 构建开发者分析仪表板

主要特点

  • 简单、干净的 API 接口
  • 支持所有 v3 GitHub 端点
  • 跨平台兼容性
  • 内置身份验证辅助功能
  • 类型安全的响应

适合对象

  • 需要 GitHub 数据的 Flutter 应用
  • 开发者工具应用程序
  • CI/CD 监控接口
  • GitHub 驱动的仪表板
  • 通过 GitHub 进行用户身份验证的应用程序

使用建议

  • 需要正确设置 GitHub API 令牌
  • 每请求应用速率限制
  • 仅限 v3 API(非 v4 GraphQL)
  • 需要网络权限在移动平台
  • 需要身份验证状态管理

原始 README

以下为关联源码仓库的 README 原文快照,最新内容请访问源码仓库。

GitHub for Dart

Dart Checks Pub

This is a library for interacting with GitHub in Dart. It works on all platforms including web, server, and Flutter. Please submit issues and pull requests, help out, or just give encouragement.

Notice: This is not an official GitHub project. It is maintained by volunteers. We are looking for contributors. If you're interested or have questions, head over to discussions https://github.com/SpinlockLabs/github.dart/discussions

Features

  • Works on the Server, Browser, and Flutter
  • Really Fast
  • Pluggable API
  • Supports Authentication
  • Builtin OAuth2 Flow
  • Hook Server Helper

Links

Examples

See the examples in the example directory to learn how to use some of the features!

Contacting Us

Post a question or idea: https://github.com/SpinlockLabs/github.dart/discussions

Star History

Star History Chart

所属分类

依赖

依赖清单 4 项

源码仓库

使用此插件的项目