Fetch SMARTER REST API breeds endpoint and returns results in a dataframe.
Usage
get_smarter_breeds(query = list())
Passing additional parameters
Breeds endpoint supports additional parameters when making queries.
Additional parameters need to be passed as list
using the query
parameter. For example, to get all the "Sheep" breeds you need to provide
list(species="Sheep")
as query
parameter. Endpoint supports
query by breed code
and name
. In addition, you can search
using a pattern through the search
parameter.
See
Swagger Breeds endpoint for more information about the breeds endpoint