langchain
18e31de2 - Add-github-api-utility (#3598)

Commit
2 years ago
Add-github-api-utility (#3598) This PR introduces a new GitHub API Wrapper using the requests library. The new GitHubAPIWrapper class allows users to fetch repository information for a specified GitHub user. The PR includes the following changes: Create a new GitHubAPIWrapper class that provides easy access to the GitHub API Add a root validator to ensure the GitHub API key is present in the environment Implement _format_repo_info method to format repository information into a readable string Add run method to fetch and display repositories for a given user Update requirements.txt to include requests library With the new GitHub API Wrapper, users can now easily retrieve repository information for any GitHub user. This functionality can be useful for a variety of purposes, such as displaying user profiles, generating reports, or analyzing repositories for various metrics. Please let me know if you have any questions or concerns. I look forward to your feedback and merging this feature into the main branch.
Author
Parents
Loading