Last active
August 21, 2024 18:03
-
-
Save scottyab/54037a82d9681eb3d1fc2e9e8872dfa0 to your computer and use it in GitHub Desktop.
Query all the past events a meetup.com group has hosted. Meetup doesn’t great way of surfacing a meetup groups past events (paging through the calendar is PITA). This GraphQL query can be run from the MeetupAPI GraphQL playground https://www.meetup.com/api/playground/#graphQl-playground
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
{ "urlname": "YOUR URL PATH here, for https://www.meetup.com/swmobile the urlname is swmobile" } |
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 ($urlname: String!) { | |
groupByUrlname(urlname: $urlname) { | |
pastEvents(input: {first: 300}) { | |
count | |
pageInfo { | |
endCursor | |
} | |
edges { | |
node { | |
id | |
title | |
host { name } | |
dateTime | |
going | |
eventUrl | |
} | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Here's an example of the above in place on the graphQl-playground
