Skip to content

Switch to latest Meetup GraphQL API #95

@glitchedmob

Description

@glitchedmob

Meetup recently launched a new graphql endpoint and they're deprecating their old one. More details here: https://www.meetup.com/api/guide/#p06-migration-guide

Here's a query that I was able to put together that I think gives us what we want

query ($urlname: String!, $itemsNum: Int!, $cursor: String) {
	events: groupByUrlname(urlname: $urlname) {
	  events(first: $itemsNum, after: $cursor) {
		totalCount
		pageInfo {
		  endCursor
		  hasNextPage
		}
		edges {
		  node {
			id
			title
			eventUrl
			description
			dateTime
			duration
			venues {
			  name
			  address
			  city
			  state
			  postalCode
			}
			group {
			  name
			  urlname
			}
			eventHosts {
			  name
			}
			featuredEventPhoto {
        baseUrl
			  highResUrl
			  standardUrl
			}
		  }
		}
	  }
	}
  }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions