dot-seq_pages_fn: Sequence uri page start and count params

.seq_pages_fnR Documentation

Sequence uri page start and count params

Description

The Yahoo! API only returns 25 players at a time. So if you want more than 25 players you need to create a sequence of uri that call 25 players each.

Usage

.seq_pages_fn(start, count, i = 25)

Arguments

start

What count to start at.

count

Number of players to return.

i

Response length.

Details

I.E. If 50 players are desired you need 2 params: 'start=0;count=25' and 'start=25;count=25'

This function takes a desired number of players (count) and how deep in the player list to start (start) and turns them into a sequence of params with length 25.

Value

A vector of strings.


macraesdirtysocks/YFAR documentation built on March 20, 2022, 2:07 a.m.