This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# Import an mbox file into Google Groups using the Groups Migration API | |
# | |
# To run this script, you will need to: | |
# 1. Be an admin on your domain | |
# 2. Enable API access in your domain | |
# 3. Create a project on the developer console | |
# 4. Activate the Groups Migration API for the project | |
# 5. Create an OAuth Client ID and Secret for the project | |
# 6. Install the google-api-python-client and google-auth-oauthlib |