Search

252 results found for api.github.com (1201ms)

Code
212

repo: string;
};
const markdown = await fetch(`https://api.github.com/repos/${repo}/readme`)
.then((res) => res.json()).then(({ content }) => atob(content));
const html = await fetch("https://api.github.com/markdown", {
method: "POST",
headers: {
}
const githubEvents = await fetchJSON(
"https://api.github.com/users/daviddkkim/events",
) as Data;
//early return if no github events
export async function githubFollowers() {
let followers = await fetchJSON(
"https://api.github.com/users/stungeye/followers",
);
return followers;
// Github profile
export let githubUser = fetchJSON(
"https://api.github.com/users/stevekrouse"
);
export async function githubNotifications() {
const res = await fetch("https://api.github.com/notifications?all=true", {
headers: {
Authorization: `Bearer ${process.env.GH_TOKEN}`,
// GitHub repos
export let githubRepos = fetchJSON(
"https://api.github.com/users/stevekrouse/repos"
);
// Github following
export let githubFollowing = fetchJSON(
"https://api.github.com/users/stevekrouse/following"
);
// Github following
export let githubFollowing = fetchJSON(
"https://api.github.com/users/stevekrouse/following"
);
// Github profile
export let githubUser = fetchJSON(
"https://api.github.com/users/stevekrouse"
);
console.log("access_token: ", data);
// // Fetch user information using the access token
const userResponse: any = await fetch("https://api.github.com/user", {
headers: {
"Authorization": `Bearer ${accessToken}`,

Vals

No vals found

Users

No users found

Docs

40
View more
No docs found