PoapEvent API Examples

show @DevCon4 details
query MyQuery {
  PoapEvents(input: {filter: {eventId: {_eq: "6"}}, blockchain: ALL}) {
    PoapEvent {
      eventName
      eventId
      startDate
      endDate
      country
      city
      isVirtualEvent
      contentValue {
        image {
          extraSmall
          large
          medium
          original
          small
        }
      }
    }
  }
}
show me all events which took place in USA in 2022
query MyQuery {
  PoapEvents(input: {filter: {country: {_eq: "USA"}, startDate: {_gte: "2022-01-01"}, endDate: {_lte: "2022-12-31"}}, blockchain: ALL, limit: 10}) {
    PoapEvent {
      eventName
      eventId
      startDate
      endDate
      country
      city
      isVirtualEvent
      contentValue {
        image {
          extraSmall
          large
          medium
          original
          small
        }
      }
    }
  }
}

Last updated

#300: add-user-details

Change request updated