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

PokeAPIHTTPClient - Rowan #209

Open
12 of 13 tasks
rowangamal opened this issue Jul 7, 2024 · 0 comments
Open
12 of 13 tasks

PokeAPIHTTPClient - Rowan #209

rowangamal opened this issue Jul 7, 2024 · 0 comments

Comments

@rowangamal
Copy link

rowangamal commented Jul 7, 2024

Develop and Test HTTP Client for poke api

Description:

Create an HTTP client in Go that consumes the poke APIs #144 . This client will focus on building an HTTP client development and testing.

Requirements:

  • Get Pokemon
  • List All Pokemon

Client Functionality:

  • Handle different response formats (JSON, plain te t)
  • Implement proper error handling and timeouts

Retry Mechanism:

Testing:

  • Unit tests for client functions
  • Integration tests using a mock server

Documentation:

  • Provide godoc-style comments for all e ported functions
  • Include usage e amples in the README

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 e plains usage and testing procedures

After this one You can develop the one for pokeapi

@rowangamal rowangamal changed the title Poke API HTTP Client - Rowan PokeAPIHTTPClient - Rowan Jul 7, 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

No branches or pull requests

1 participant