Skip to contents

Creates a client object with methods to interact with the METASPACE GraphQL API.

Usage

metaspace_client(host = "https://metaspace2020.org", api_key = NULL)

Arguments

host

Character string specifying the METASPACE host URL (default = "https://metaspace2020.org").

api_key

Optional. Your METASPACE API key for accessing private datasets. If accessing a public dataset this can be left as NULL (default = NULL).

Value

A list containing functions for querying METASPACE data.

Examples

# ms <- metaspace_client()