How to get all products from tcg API

(Arslan Malik) #1

Iam working on tcg API and iam stucked because it is showing only 10 products, if i apply limit on it, it does’nt increase from 100, Help

(Joshua Burdick) #2

100 is the max that will be returned from a single call, but there is also an “offset” parameter that you can use to change where in the list the return starts at. If you set at offset at 100 for example, and limit at 100, it’ll return the next 100 products in the list. You can keep iterating offset to get the whole list.

(Arslan Malik) #3

Thanx, it helped me alot