Skip to content

Wrapper in top of Eventbrite api v3. It allow you to fetch attendees and events easily using your application key.

License

Notifications You must be signed in to change notification settings

DTONeill/EventbriteApiV3

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

EventbriteApiV3

Wrapper in top of Eventbrite api v3. It allow you to fetch attendees and events easily using your application key. https://www.eventbrite.com/platform/api#/introduction/about-our-api

Getting started

First you should create your own API key at https://www.eventbrite.ca/platform

Fetching Events

var eventbriteContext = new EventbriteContext("Your API key");

var criterias = new EventSearchCriterias()
                .OnlyFree()
                .OrganizerId(18945678)
                .StartAfter(DateTime.Now)
                .OrderBy(EventSearchCriterias.SortOrder.Date);

var eventsFirstPage = eventbriteContext.GetEvents(criterias);

if(eventsFirstPage.Pagination.PageCount > 2) {
	criterias.Page(2);

	var eventsSecondPage = eventbriteContext.GetEvents(criterias);
}

Fetching Attendees

var eventbriteContext = new EventbriteContext("Your API key");

var criterias = new AttendeeSearchCriterias()
                .Status(AttendeeSearchCriterias.AttendeeStatus.Attending);

var result = eventbriteContext.GetAttendees({event id});

About

Wrapper in top of Eventbrite api v3. It allow you to fetch attendees and events easily using your application key.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages