Skip to content

Instantly share code, notes, and snippets.

@sjwaight
Created March 28, 2022 21:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sjwaight/2ad50310d5485eff107c1973fa657df2 to your computer and use it in GitHub Desktop.
Save sjwaight/2ad50310d5485eff107c1973fa657df2 to your computer and use it in GitHub Desktop.
Sample query against Meetup's GraphQL API. Query retrieves next event for a group based URL name.
query
{
groupByUrlname(urlname: "Azure-Sydney-User-Group")
{
name
id
upcomingEvents(input: {first: 1})
{
pageInfo
{
hasNextPage
hasPreviousPage
startCursor
endCursor
}
count
edges
{
cursor
node
{
id
title
eventUrl
images
{
id
baseUrl
preview
}
venue
{
name
}
dateTime
duration
timezone
endTime
isOnline
shortUrl
}
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment