Skip to content

[Feature Request]: Implement GitHub API Integration Using Ktor #7

@theMr17

Description

@theMr17

Description

There is currently no implementation for making API calls to GitHub. A networking layer needs to be set up using Ktor to handle API requests efficiently. This will enable secure and structured communication with GitHub’s REST API.

Proposed Solution

  • Integrate Ktor as the HTTP client for making network requests.
  • Configure Ktor with appropriate serialization (e.g., Kotlinx Serialization) and logging features.
  • Implement a GitHub API service to handle requests such as fetching notifications.
  • Ensure proper error handling and response parsing using custom Result class and custom NetworkError enum class.

Additional Context

  • The implementation should follow best practices for dependency injection and structured API handling.
  • Caching strategies can be considered for optimizing repeated requests.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions