Skip to contents

This function performs an introspection query on the Meetup GraphQL API to retrieve the full schema details, including available query types, mutation types, and type definitions.

Usage

meetup_schema(asis = FALSE)

Arguments

asis

Logical; if TRUE, returns the raw response from the API as JSON. If FALSE (default), returns the parsed schema object.

Value

If asis is FALSE (default), the parsed schema object with nested lists containing query types, mutation types, and type definitions. If asis is TRUE, a JSON string representation of the schema.

Examples

# Get the full schema
schema <- meetup_schema()

# Explore what's available
names(schema)
#> [1] "queryType"        "mutationType"     "subscriptionType" "types"           

# Get as JSON for external tools
schema_json <- meetup_schema(asis = TRUE)