dot-Petfinder.class: Internal R6 class

Description Methods

Description

Internal R6 class

Internal R6 class

Methods

Public methods


Method new()

Usage
.Petfinder.class$new(key, secret)

Method animal_types()

Usage
.Petfinder.class$animal_types(types = NULL)

Method breeds()

Usage
.Petfinder.class$breeds(animal_types = NULL, return_df = FALSE)

Method animals()

Usage
.Petfinder.class$animals(
  animal_id = NULL,
  animal_type = NULL,
  breed = NULL,
  size = NULL,
  gender = NULL,
  age = NULL,
  color = NULL,
  coat = NULL,
  status = NULL,
  name = NULL,
  organization = NULL,
  location = NULL,
  distance = NULL,
  sort = NULL,
  good_with_cats = NULL,
  good_with_children = NULL,
  good_with_dogs = NULL,
  before_date = NULL,
  after_date = NULL,
  pages = 1,
  results_per_page = 20,
  return_df = FALSE
)

Method organizations()

Usage
.Petfinder.class$organizations(
  organization_id = NULL,
  name = NULL,
  location = NULL,
  distance = NULL,
  state = NULL,
  country = NULL,
  query = NULL,
  sort = NULL,
  results_per_page = 20,
  pages = 1,
  return_df = FALSE
)

Method clone()

The objects of this class are cloneable with this method.

Usage
.Petfinder.class$clone(deep = FALSE)
Arguments
deep

Whether to make a deep clone.


aschleg/PetfindeR documentation built on July 12, 2020, 4:30 a.m.