Skip to content

Python automations? #613

Discussion options

You must be logged in to vote

Hello, @grahamj89

To generate Kanban charts for GitHub projects, you can use the GitHub API to retrieve issues from a specific project board and categorize them by columns (e.g., To Do, In Progress, Done). Here's a simple approach:

  1. Use the requests library to access GitHub's API.
  2. Fetch project board data using the /projects and /projects/columns endpoints.
  3. Organize the issues by column (based on their status).
  4. Visualize the data using a library like matplotlib or plotly to create Kanban charts.

Here's an outline of a Python script:

import requests
import matplotlib.pyplot as plt

# Set up GitHub API authentication (personal access token)
headers = {
    'Authorization': 'token YOUR_GITH…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by grahamj89
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants