Skip to content

Commit

Permalink
Merge pull request #12 from Badgerworks-Brewery/gitauto/issue-10-4a37…
Browse files Browse the repository at this point in the history
…6bf1-220d-4373-b85a-7b276cb00d16

GitAuto: 🧚🤖 Pixeebot Activity Dashboard
  • Loading branch information
CCIGAMES authored Dec 10, 2024
2 parents 4e652e3 + 6337c0e commit 4ffe21a
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
11 changes: 11 additions & 0 deletions src/dashboard.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Pixeebot Activity Dashboard</title>
<link rel="stylesheet" href="styles.css">
</head>
<body>
</body>
</html>
10 changes: 10 additions & 0 deletions src/githubApiIntegration.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
// Function to fetch data from GitHub API
async function fetchGitHubData(endpoint) {
const response = await fetch(`https://api.github.com/repos/your-repo/${endpoint}`);
if (!response.ok) {
throw new Error('Network response was not ok');
}
return await response.json();
}

export { fetchGitHubData };

0 comments on commit 4ffe21a

Please sign in to comment.