<commit_before>import sys

from Ziggeo import Ziggeo

if(len(sys.argv) < 3):
	print "Error\n"
	print "Usage: $>python index.py YOUR_API_TOKEN YOUR_PRIVATE_KEY\n"
	sys.exit()

api_token = sys.argv[1]
private_key = sys.argv[2]
ziggeo = Ziggeo(api_token, private_key)
video_list = ziggeo.videos().index({"limit":100})
for video in video_list:
	print video<commit_msg>adding comment<commit_after>import sys

from Ziggeo import Ziggeo

if(len(sys.argv) < 3):
	print "Error\n"
	print "Usage: $>python index.py YOUR_API_TOKEN YOUR_PRIVATE_KEY\n"
	sys.exit()

api_token = sys.argv[1]
private_key = sys.argv[2]
ziggeo = Ziggeo(api_token, private_key)
# 'limit' will limit how much index operation will fetch the videos. default 50 max 100
video_list = ziggeo.videos().index({"limit":100})
for video in video_list:
	print video
{'fraction_non_alphanumeric': 0.12239902080783353, 'fraction_numerical': 0.0208078335373317, 'mean_word_length': 5.650406504065041, 'pattern_counts': {'":': 2, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7340467', 'n_tokens_mistral': 321, 'n_tokens_neox': 307, 'n_words': 79}