Construct URLs of API searches

construct_url(searchTerm, searchType = "bacdive_id")

Arguments

searchTerm

Mandatory character string (in case of searchType = sequence, culturecollectionno or taxon) or integer (in case of bacdive_id), specifying what shall be searched for.

searchType

Mandatory character string that specifies which type of search will be performed (technically, which API endpoint). Can be taxon (default), bacdive_id, sequence, or culturecollectionno.