Skip to content

Instantly share code, notes, and snippets.

@GaetanoPiazzolla
Created March 21, 2022 19:03
Show Gist options
  • Save GaetanoPiazzolla/ac102c13c1b628a8bb30e89b2ee85473 to your computer and use it in GitHub Desktop.
Save GaetanoPiazzolla/ac102c13c1b628a8bb30e89b2ee85473 to your computer and use it in GitHub Desktop.
import com.google.api.services.forms.v1.model.ListFormResponsesResponse;
import java.io.IOException;
private static void readResponses(String formId, String token) throws IOException {
ListFormResponsesResponse response = formsService.forms().responses().list(formId).setOauthToken(token).execute();
System.out.println(response.toPrettyString());
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment