Pagination este procesul de împ?r?ire a datelor în pagini discrete. În feed-urile xml, pagination este utilizat de exemplu pentru a afi?a un num?r limitat de rezultate (de ex. oferte de pariuri). Face ca feed-ul s? fie mai u?or ?i rapid.

Pagination trebuie s? adauge 2 parametrii, rangeStart ?i rangeSize la urm?toarele feed-uri:

  • Find Betoffer Group by Id
  • Find Live Betoffer Group By Id
  • Find Prematch Betoffers for an Event by id
  • Find Popular Betoffers
  • Search Betoffer by term
  • To construct a feed, you need to add &rangeStart=101&rangeSize=100 at the end of the feed.

rangeStart=101 means that the feed will show bet offers starting from 101 and onwards.

rangeSize=100 means that the feed will display 100 bet offers on the page. If you want to show less bet offers in the feed, change 100 to any smaller number. The maximum bet offers available on a page is 100.

Example of the football feed using pagination – feed displays the first 100 bet offers. YourAppKeyHere&local=en_GB&rangeStart=101&rangeSize=100 – feed displays bet offers starting from 101 till 200. – feed displays bet offers starting from 101 until 120.