#eventbrite and #windows 8 apps

Eventbrite gives you all the online tools you need to bring people together for an event and sell tickets.
 
Before you can do anything with the EventBrite API you first should get an API key through their website here… After that you are set to go! With that API key you can than start using all API methods that are described on the EventBrite API documentation here…


Eventbrite.NET is an API wrapper written in C# that provides a statically typed interface for the publicly available Eventbrite API. The wrapper doesn't do anything that you can't do yourself with some HTTP fetching and XML parsing. That said, it'll be a truckload quicker to use it than write your own.

To install using NuGet
PM>Install-Package eventbriteNET

Quick help:
// Create the context object with your API details
 var context = new EventbriteContext("APP_KEY", "USER_KEY");
// Instantiate Organizer entity with the desired organizer ID var organizer = context.GetOrganizer(ORGANIZER_ID_HERE);
 // Get all the events that the organizer has created var events = organizer.Events.Values;
// Get the first event in the collection var firstEvent = events.First(); // All the attendees in that event var attendees = firstEvent.Attendees;
// All the tickets in that event
 var tickets = firstEvent.Tickets.Values;
 

No comments:

Post a Comment