get_premier_league: Helper for functions making GET request to the Premier League...

Description Usage Arguments Details Value

Description

get_premier_league is a helper for functions making GET request to the Premier League API.

Usage

1
2
get_premier_league(resource, parameters, timeout_in_sec = 5,
  wait_in_sec = 1)

Arguments

resource

type of resource you want to get

parameters

list of parameters

timeout_in_sec

after this amount of time a time-out error is thrown

wait_in_sec

idle time in seconds before actual request (as a matter of decency it's common not to flood the server with requests)

Details

Function not called directly.

Value

Response including status code, body, ...


IsaacVerm/penalty documentation built on May 26, 2019, 7:28 a.m.