Welcome to my GitHub profile!
- 💻 Passionate about software development
- 🌱 Always learning and growing
- 🤝 Open to collaborating on interesting projects
- 🔭 Exploring new technologies and building cool things
- 🔍 Enjoy diving deep into complex problems
- 🛠️ Experienced with debugging tools and techniques
- 📝 Writing clean, maintainable code
Learn how to get started with the GitHub REST API.
This quickstart shows how to make a simple GitHub REST API request with GitHub CLI, curl, or JavaScript. For a more detailed guide, see Getting started with the REST API.
gh auth login
gh api /octocat --method GETcurl -L \
-H "Accept: application/vnd.github+json" \
-H "X-GitHub-Api-Version: 2022-11-28" \
https://api.github.com/octocatconst response = await fetch("https://api.github.com/octocat", {
headers: {
Accept: "application/vnd.github+json",
"X-GitHub-Api-Version": "2022-11-28",
},
});
const data = await response.text();
console.log(data);For a more detailed guide, see Getting started with the REST API.
Feel free to reach out or explore my repositories!