import sys

from Ziggeo import Ziggeo
import json
if(len(sys.argv) < 6):
	print ("Error\n")
	print ("Usage: $>python push_video.py YOUR_API_TOKEN YOUR_PRIVATE_KEY VIDEO_TOKEN STREAM_TOKEN PUSH_SERVICE_TOKEN\n")
	sys.exit()

api_token = sys.argv[1]
private_key = sys.argv[2]
video_token = sys.argv[3]
stream_token = sys.argv[4]
push_service_token = sys.argv[5]

ziggeo = Ziggeo(api_token, private_key)
arguments = {}
arguments['pushservicetoken'] = push_service_token
ziggeo.streams().push_to_service(video_token, stream_token, arguments)

import sys

from Ziggeo import Ziggeo
import json
if(len(sys.argv) < 6):
	print ("Error\n")
	print ("Usage: $>python stream_push.py YOUR_API_TOKEN YOUR_PRIVATE_KEY VIDEO_TOKEN STREAM_TOKEN PUSH_SERVICE_TOKEN\n")
	sys.exit()

api_token = sys.argv[1]
private_key = sys.argv[2]
video_token = sys.argv[3]
stream_token = sys.argv[4]
push_service_token = sys.argv[5]

ziggeo = Ziggeo(api_token, private_key)
arguments = {}
arguments['pushservicetoken'] = push_service_token
ziggeo.streams().push_to_service(video_token, stream_token, arguments)

change stream push script printout