get_species_from_list: Get existing list/lists of species

View source: R/listspecies.R

get_species_from_listR Documentation

Get existing list/lists of species

Description

Get existing list/lists of species

Usage

get_species_from_list(
  userid,
  access_token,
  list_id,
  verbose = FALSE,
  content = TRUE
)

Arguments

userid

A valid gmail address of the user

access_token

Access token of the gmail address

list_id

An integer id of the list to retrieve

verbose

(optional)By default FALSE and shows minimal meta-data of the list.

content

(optional)By default TRUE and shows the species collection of the list

Value

An existing list with metadata and content based on parameters

See Also

https://github.com/phylotastic/phylo_services_docs/tree/master/ServiceDescription

Examples

  # This gives you the syntax, but since the access token expires after one hour,
  # this particular example will not work.
  ## Not run: 
  userid = "abusalehmdtayeen@gmail.com"
  access_token = "ya29..zQLmLjbyujJjwV6RVSM2sy-mkeaKu-9"
  list_id = 12
  verbose = TRUE
  content = FALSE
  get_species_from_list(userid, access_token, list_id, verbose, content)
  
## End(Not run)

phylotastic/rphylotastic documentation built on Aug. 22, 2023, 9:51 p.m.