Results 1 to 6 of 6

Thread: A MailChimp API offering

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Apr 2009
    Location
    Wilmington NC, USA or Oaxaca Mexico
    Posts
    784

    Default A MailChimp API offering

    The attached basic Windows program shows you how to add a Member to a MailChimp List. To use it you need the following:

    1) A MailChimp account with at least one List. https://mailchimp.com/

    2) An API key. In your Account under Extras, you will find info on creating an API key.

    3) The ID number of your List. http://developer.mailchimp.com/docum...ilchimp-api-3/ The getting started doc is relatively short and easy to follow. After reading it, I used the playground to GET my List. The ID is in the JSON that's returned.

    To create a new Member in your list, you need an MD5 hash of the lowercase value of the member's email address. Searching the forum, I found code contributed by Clive Richmond.

    The code uses Basic Authorization, not oAuth. Read about it here: https://en.wikipedia.org/wiki/Basic_...authentication The Base64EncodeString function in my code was in the DAW doc.

    Hopefully this will jump-start your use of this API.

    ps: the List ID & API Key in the code are bogus, you will need your own to run the program successfully.
    Attached Files Attached Files
    Last edited by danwalsh46; 21-Nov-2017 at 12:48 PM. Reason: post script

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •