This project is read-only.

Setting up the Client:

Groupon.Net.Client.ClientId = myClientId; // Must be done prior to any method calls on the Client
Groupon.Net.Client.ForceSuccessRsponse = true; // Optional

Retrieving Deals:

List<Groupon.Net.Deal> myDeals = Groupon.Net.Client.GetDeals();

Retrieving Individual Deal:

Groupon.Net.Deal myDeal = Groupon.Net.Client.GetDeal("thedeal-id");

Retrieving Divisions:

List<Groupon.Net.Division> myDivisions = Groupon.Net.Client.GetDivisions();

Constructing a Commission Junction Link:

Groupon.Net.Deal myDeal = Groupon.Net.Client.GetDeal("thedeal-id");
string myLink = Groupon.Net.Client.GetCommissionJunctionUrl("MyPID", myDeal.DealURL);

Retrieving Groupon Sayings:

List<Groupon.Net.GrouponSaying> mySayings = Groupon.Net.Client.GetGrouponSayings();

Last edited Apr 13, 2011 at 5:44 PM by JPaulDuncan, version 4


No comments yet.