Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PokeAPI HTTP Client-Mohamed Fadel #297

Open
11 of 13 tasks
MohamedFadel01 opened this issue Sep 22, 2024 · 0 comments · May be fixed by codescalersinternships/PokeAPI-HTTP-Client-MohamedFadel#1
Open
11 of 13 tasks

PokeAPI HTTP Client-Mohamed Fadel #297

MohamedFadel01 opened this issue Sep 22, 2024 · 0 comments · May be fixed by codescalersinternships/PokeAPI-HTTP-Client-MohamedFadel#1

Comments

@MohamedFadel01
Copy link
Member

MohamedFadel01 commented Sep 22, 2024

Develop and Test HTTP Client for PokeAPI

Description:
Create an HTTP client in Go that consumes the PokeAPIs. This client will focus on building an HTTP client development and testing.

Requirements:

  1. Client Functionality:

    • Implement functions to call pokemon endpoint
    • Implement proper error handling and timeouts
    • Implement pagination
  2. Configuration:

    • Support for environment variable configuration
  3. Retry Mechanism:

  4. Testing:

    • Unit tests for client functions
    • Integration tests using a mock server
  5. Documentation:

    • Provide godoc-style comments for all exported functions
    • Include usage examples in the README
  6. Logging:

    • Implement structured logging for client operations

Optional Enhancements:

  • Implement a simple CLI interface for the client

Acceptance Criteria:

  • All tests pass and provide good coverage
  • Documentation clearly explains usage and testing procedures
@MohamedFadel01 MohamedFadel01 changed the title PokeAPI HTTP Client PokeAPI HTTP Client-Mohamed Fadel Sep 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant