Skip to content

Instantly share code, notes, and snippets.

@inorganik
Forked from creaoy/extract-testflight.js
Last active April 6, 2016 12:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save inorganik/8dc20858976349eccd45b1f5e3359260 to your computer and use it in GitHub Desktop.
Save inorganik/8dc20858976349eccd45b1f5e3359260 to your computer and use it in GitHub Desktop.
Extract TestFlight user email addresses from iTunes Connect
// Make sure you scroll down to get all data loaded
var text = 'First, Last, Email\n';
angular.forEach($scope.filteredTesters, function(val) {
text += val.firstName.value + ',';
text += val.lastName.value + ',';
text += val.emailAddress.value + '\n';
});
var a = document.createElement("a");
var file = new Blob([text], {type: 'text/csv'});
a.href = URL.createObjectURL(file);
a.download = name; a.click();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment