Created
March 28, 2022 21:39
-
-
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.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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