Skip to content

Instantly share code, notes, and snippets.

@rajajawahar
Last active April 23, 2019 16:51
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 rajajawahar/065d8171efe0e9e87b42cbaf2fed87b3 to your computer and use it in GitHub Desktop.
Save rajajawahar/065d8171efe0e9e87b42cbaf2fed87b3 to your computer and use it in GitHub Desktop.
import time
import analytics_from_gc
import json_parser
ANALYTICS_JSON = analytics_from_gc.initiate_analytics()
FILE_NAME = 'analyticsfiles/' + ('ANALYTICS_' + str(int(time.time()))).strip()
print("Current File Path:" + FILE_NAME)
json_parser.convert_from_json(ANALYTICS_JSON, FILE_NAME)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment