woocommerce / woocommerce/wc-api-python

Pagination support

Open
#89 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
216
Forks
108
Avg merge
6h 34m
Merged PRs (30d)
1

Description

Currently this API implementation does not offer a pagination feature.
https://woocommerce.github.io/woocommerce-rest-api-docs/#pagination
Would it be possible to perform pagination inside your API class? - And recursively perform the requests until the last page is received?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading the API class and the WooCommerce pagination documentation linked in the issue. Determine how requests expose page information and how the wrapper currently returns results. Done means the API can request successive pages through the final page and return the complete result without leaving pagination to callers.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
api
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.