title: Is there still "no API to manage consumer googlegroups.com groups programatically"?
body: <p>In an answer to this 2014 post
  <a href="https://stackoverflow.com/a/36037894/8879659">Unable to retrieve members of a google group, getting Invalid Input</a>
  you read: "There is no API to manage consumer googlegroups.com groups programatically".<br>
  Is this still the situation in 2018?  </p>
  
  <p>I tried to follow the suggestion in answer 3 of the post <a href="https://stackoverflow.com/questions/38784889/how-to-get-the-list-of-members-in-a-google-group-in-google-app-script-admin-sdk">How to get the list of members in a Google group in Google app script (Admin SDK)?</a> but I get the following error message: </p>
  
  <blockquote>
    <p>ReferenceError: "AdminDirectory" is not defined. (line 9, file "Code") </p>
  </blockquote>
  
  <p>where line 9 (and following)  is (are):  </p>
  
  <blockquote>
  <pre><code>    page = AdminDirectory.Members.list(groupKey,
      {
          domainName: 'googlegroups.@com',
          maxResults: 500,
          pageToken: pageToken,
      });
  </code></pre>
  </blockquote>
  
  <p>Searching to understand the error I found the reference page for <a href="https://developers.google.com/admin-sdk/directory/v1/reference/users/list" rel="noreferrer">Members: list</a>. Using the "Try this API" form in that page I get the error reported in the first post I mentioned.</p>
  
  <p>If it is NOT true that "There is no API to manage consumer googlegroups.com groups programatically", is there a guide to copy the list of the members of a group I own in a google-sheet sheet? (I mean to copy via a function, non by hand exporting and reimporting the CSV)<br>
  Many thanks, Roberto Scotti</p>