Helper Methods

Note: Current version does not support the full Polldaddy API.

  Method Requires Initialization
static void Initialize (string apiKey) -
  Initializes the Polldaddy helper with the Polldaddy API key. The API key is a string assigned by Polldaddy to access the the API methods. Click here to obtain an API key.  
static string GetUserCode () Yes
  This method retrieves the PollDaddy API Usercode.  
static IList<PollResult> GetPollResults (string pollId) Yes
  This method retrieves the results of the given poll.  
static Poll GetPoll (string pollId) Yes
  This method retrieves the details of the given poll.  
static IList<PollComment> GetPollComments (string pollId) Yes
  This method retrieves the list of poll comments.  
@helper GetSurveyLink (string surveyId, [string linkText]) No
  This method shows a link to open the survey as a website popup.  
@helper GetPollWidget (string pollId) No
  This method shows the poll widget.  
@helper GetRatingWidget (string ratingId, [string title], [string permalink]) No
  This method shows the rating widget.  

Last edited Jan 10, 2011 at 3:19 PM by jsenior, version 6

Comments

No comments yet.