Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
624d59b
adding OrganizerRequestHandler for organizer operations and correspon…
khnbb Jan 13, 2017
98234e6
adding an option to fetch venues for organizer events, though now whe…
khnbb Jan 13, 2017
581c4e7
Removed unusual overload for getting venue detail with organizer even…
khnbb Jan 17, 2017
b035d3e
updates for broken reference
khnbb Mar 23, 2018
4d89f67
removing bins and objs
khnbb Mar 23, 2018
cdd1f71
gitignore for bin and obj
khnbb Mar 23, 2018
e090ddb
removing suo
khnbb Mar 23, 2018
199f2bc
removing another suo
khnbb Mar 23, 2018
ebda11f
solution upgrade
khnbb Mar 23, 2018
1cb0d07
gitignore for suo
khnbb Mar 23, 2018
6b9c008
Update README.md
khnbb Mar 23, 2018
7f666d5
more ignores
khnbb May 2, 2018
41e2be6
Merge branch 'master' of https://github.com/newbelgium/EventbriteNET
khnbb May 2, 2018
439d0d8
ignores updated for 2019
khnbb Oct 7, 2019
1987fc0
Update .gitignore
khnbb Oct 7, 2019
57bbe76
adds expansions on get organizer events
khnbb Sep 18, 2020
91e0e45
adds currents fields to image object
khnbb Sep 18, 2020
5e99248
new class for full description added
khnbb Sep 18, 2020
c39d320
get full description
khnbb Sep 18, 2020
6f588d8
cleanup
Mar 16, 2021
34e7b6d
rename and rebrand
Mar 16, 2021
4d60023
new namespace
Mar 16, 2021
f3646fb
root namespace changes
Mar 16, 2021
b619d91
rename sln/proj
Mar 22, 2021
989b096
new nuspec file
Mar 22, 2021
a7c6b67
namespace update
Mar 22, 2021
d2072f5
rename directory
Mar 22, 2021
c5ebbb0
udpate
Mar 22, 2021
76973c6
udpate
Mar 22, 2021
c6c897e
removing bin and obj and update to gitignore
khnbb May 27, 2021
13c9e64
update aspect ratio to STRING yes that is how the eventbrite api has …
khnbb May 27, 2021
956a8c3
Merge pull request #1 from newbelgium/update_aspect_ratio
MizterDuster Jun 1, 2021
faaec0f
Update all to .net core 5.0
khnbb May 2, 2022
cb87d5b
Update README.md
khnbb May 2, 2022
d92bbd9
removed dead reference
khnbb May 3, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
################################################################################
# This .gitignore file was automatically created by Microsoft(R) Visual Studio.
################################################################################

*/bin/*
*/obj/*
/packages
/.vs
.suo
31 changes: 31 additions & 0 deletions EventbriteDotNet.sln
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 16
VisualStudioVersion = 16.0.31019.35
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "EventbriteDotNet", "EventbriteDotNet\EventbriteDotNet.csproj", "{AF04039A-80FB-474F-8147-76AE4E19C23E}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "EventbriteDotNetConsoleTest", "EventbriteDotNetConsoleTest\EventbriteDotNetConsoleTest.csproj", "{A8674ACF-76FF-4602-AC65-C023129FDE8B}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{AF04039A-80FB-474F-8147-76AE4E19C23E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{AF04039A-80FB-474F-8147-76AE4E19C23E}.Debug|Any CPU.Build.0 = Debug|Any CPU
{AF04039A-80FB-474F-8147-76AE4E19C23E}.Release|Any CPU.ActiveCfg = Release|Any CPU
{AF04039A-80FB-474F-8147-76AE4E19C23E}.Release|Any CPU.Build.0 = Release|Any CPU
{A8674ACF-76FF-4602-AC65-C023129FDE8B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{A8674ACF-76FF-4602-AC65-C023129FDE8B}.Debug|Any CPU.Build.0 = Debug|Any CPU
{A8674ACF-76FF-4602-AC65-C023129FDE8B}.Release|Any CPU.ActiveCfg = Release|Any CPU
{A8674ACF-76FF-4602-AC65-C023129FDE8B}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {689CE63A-7FB2-4578-88ED-D31BDA8A9595}
EndGlobalSection
EndGlobal
241 changes: 120 additions & 121 deletions EventbriteNET/Attendee.cs → EventbriteDotNet/Attendee.cs
Original file line number Diff line number Diff line change
@@ -1,126 +1,125 @@
using System;
using System.Collections.Generic;
using Newtonsoft.Json;

namespace EventbriteNET
using Newtonsoft.Json;
using System.Collections.Generic;

namespace EventbriteDotNet
{
/// <summary>
/// Represents an Eventbrite Ticket Class <see cref="https://developer.eventbrite.com/docs/attendee-object/"/>
/// </summary>
public class BasePrice
{
public string display { get; set; }
public string currency { get; set; }
public int value { get; set; }
public string major_value { get; set; }
}
public class EventbriteFee
{
public string display { get; set; }
public string currency { get; set; }
public int value { get; set; }
public string major_value { get; set; }
}
public class Gross
{
public string display { get; set; }
public string currency { get; set; }
public int value { get; set; }
public string major_value { get; set; }
}
public class PaymentFee
{
public string display { get; set; }
public string currency { get; set; }
public int value { get; set; }
public string major_value { get; set; }
}
public class Tax
{
public string display { get; set; }
public string currency { get; set; }
public int value { get; set; }
public string major_value { get; set; }
}
public class Costs
{
public BasePrice base_price { get; set; }
public EventbriteFee eventbrite_fee { get; set; }
public Gross gross { get; set; }
public PaymentFee payment_fee { get; set; }
public Tax tax { get; set; }
}
public class Address
{
public string address_1 { get; set; }
public string address_2 { get; set; }
public string city { get; set; }
public string region { get; set; }
public string postal_code { get; set; }
public string country { get; set; }
public string country_name { get; set; }
}
public class Addresses
{
public Address home { get; set; }
public Address ship { get; set; }
public Address work { get; set; }
public Address bill { get; set; }
}
public class Profile
{
public string first_name { get; set; }
public string last_name { get; set; }
public string email { get; set; }
public string name { get; set; }
public Addresses addresses { get; set; }
}
public class Barcode
{
public string status { get; set; }
public string barcode { get; set; }
public int checkin_type { get; set; }
public string created { get; set; }
public string changed { get; set; }
}
public class Attendee : EventbriteObject
{
public object team { get; set; }
public Costs costs { get; set; }
public string resource_uri { get; set; }
public string id { get; set; }
public string changed { get; set; }
public string created { get; set; }
public int quantity { get; set; }
public Profile profile { get; set; }
public List<Barcode> barcodes { get; set; }
public List<object> answers { get; set; }
public bool checked_in { get; set; }
public bool cancelled { get; set; }
public bool refunded { get; set; }
public string affiliate { get; set; }
public string status { get; set; }
public string event_id { get; set; }
public string order_id { get; set; }
public string ticket_class_id { get; set; }
}
public class EventAttendees : EventbriteObject
{
[JsonProperty("pagination")]
public Pagination Pagination { get; set; }
[JsonProperty("attendees")]
public List<Attendee> Attendees { get; set; }
/// </summary>

public class BasePrice
{
public string display { get; set; }
public string currency { get; set; }
public int value { get; set; }
public string major_value { get; set; }
}

public class EventbriteFee
{
public string display { get; set; }
public string currency { get; set; }
public int value { get; set; }
public string major_value { get; set; }
}

public class Gross
{
public string display { get; set; }
public string currency { get; set; }
public int value { get; set; }
public string major_value { get; set; }
}

public class PaymentFee
{
public string display { get; set; }
public string currency { get; set; }
public int value { get; set; }
public string major_value { get; set; }
}

public class Tax
{
public string display { get; set; }
public string currency { get; set; }
public int value { get; set; }
public string major_value { get; set; }
}

public class Costs
{
public BasePrice base_price { get; set; }
public EventbriteFee eventbrite_fee { get; set; }
public Gross gross { get; set; }
public PaymentFee payment_fee { get; set; }
public Tax tax { get; set; }
}

public class Address
{
public string address_1 { get; set; }
public string address_2 { get; set; }
public string city { get; set; }
public string region { get; set; }
public string postal_code { get; set; }
public string country { get; set; }
public string country_name { get; set; }
}

public class Addresses
{
public Address home { get; set; }
public Address ship { get; set; }
public Address work { get; set; }
public Address bill { get; set; }
}

public class Profile
{
public string first_name { get; set; }
public string last_name { get; set; }
public string email { get; set; }
public string name { get; set; }
public Addresses addresses { get; set; }
}

public class Barcode
{
public string status { get; set; }
public string barcode { get; set; }
public int checkin_type { get; set; }
public string created { get; set; }
public string changed { get; set; }
}

public class Attendee : EventbriteObject
{
public object team { get; set; }
public Costs costs { get; set; }
public string resource_uri { get; set; }
public string id { get; set; }
public string changed { get; set; }
public string created { get; set; }
public int quantity { get; set; }
public Profile profile { get; set; }
public List<Barcode> barcodes { get; set; }
public List<object> answers { get; set; }
public bool checked_in { get; set; }
public bool cancelled { get; set; }
public bool refunded { get; set; }
public string affiliate { get; set; }
public string status { get; set; }
public string event_id { get; set; }
public string order_id { get; set; }
public string ticket_class_id { get; set; }
}

public class EventAttendees : EventbriteObject
{
[JsonProperty("pagination")]
public Pagination Pagination { get; set; }
[JsonProperty("attendees")]
public List<Attendee> Attendees { get; set; }
}
}
3 changes: 1 addition & 2 deletions EventbriteNET/Category.cs → EventbriteDotNet/Category.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
using Newtonsoft.Json;
using System;

namespace EventbriteNET
namespace EventbriteDotNet
{
/// <summary>
/// Represents an Eventbrite Category <see cref="https://developer.eventbrite.com/docs/category-object/"/>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using Newtonsoft.Json;
using System.Collections.Generic;

namespace EventbriteNET.Collections
namespace EventbriteDotNet.Collections
{
public interface IPaginatedResponse<T> where T : EventbriteObject
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using Newtonsoft.Json;
using System.Collections.Generic;

namespace EventbriteNET.Collections
namespace EventbriteDotNet.Collections
{
public partial class PaginatedResponse<T> : IPaginatedResponse<T> where T : EventbriteObject
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;

namespace EventbriteNET.Collections
namespace EventbriteDotNet.Collections
{
public partial class PaginatedResponse<T> : IPaginatedResponse<T> where T : EventbriteObject
{
Expand Down
Loading