Skip to content

Add API helper functions for user registration and poll fetching#3

Open
azukauteh wants to merge 4 commits intoalx-se:mainfrom
azukauteh:magnificent
Open

Add API helper functions for user registration and poll fetching#3
azukauteh wants to merge 4 commits intoalx-se:mainfrom
azukauteh:magnificent

Conversation

@azukauteh
Copy link
Copy Markdown

  • Implemented register_user() function using requests to hit the /register endpoint.
  • Created fetch_polls() function to retrieve paginated poll data from /polls?skip=0&limit=10.
  • Both functions follow the API response schemas as defined in the OpenAPI spec.
  • Prepares the codebase for easier interaction with backend endpoints.

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 this pull request may close these issues.

1 participant