#get user data into a global variable userS = c.transport.GET.user.status() app = QtGui.QApplication(sys.argv) #pretty sure this is redundant. Not sure how to use this class. #QtCore.Qt.Orientation = QtCore.Qt.AnchorVerticalCenter view = QtDeclarative.QDeclarativeView() view.setSource(QtCore.QUrl('podio.qml')) my_name = walk_dict(userS, "name") img_link = walk_dict(userS, "thumbnail_link") print my_name + " " + img_link root = view.rootObject() changeText = ChangeCont() context = view.rootContext() context.setContextProperty("changeText", changeText) print c.Space.find_by_url("https://citrix.podio.com/meego-n9-test/") view.show() sys.exit(app.exec_())