Skip to content

Latest commit

 

History

History
58 lines (44 loc) · 2.44 KB

File metadata and controls

58 lines (44 loc) · 2.44 KB

GET /project/:type

Generate repository metric badges.

Route Types

  • /project/stars
  • /project/forks
  • /project/watchers
  • /project/issues
  • /project/prs
  • /project/contributors
  • /project/size

Required Params

  • repo in format OWNER/REPO

Default demo repo: pphatdev/github-stats

Optional Params

Param Description
theme Badge theme
customLabel Custom label text
labelColor Label text color
labelBackground Label background color
iconColor Icon color
valueColor Value text color
valueBackground Value background color

Demo Each Route Type

stars forks watchers issues prs contributors size

Demo Each Optional Param

Param Preview
theme theme
customLabel customLabel
labelColor labelColor
labelBackground labelBackground
iconColor iconColor
valueColor valueColor
valueBackground valueBackground

Combined Demos

combined-contributors combined-stars