In the library there is an example of how to add a target.
v = Vuforia(server_access, server_secret)
image_file = open('PATH_TO_IMAGE_FILE')
image = base64.b64encode(image_file.read())
meta = "this is the metadata"
metadata = base64.b64encode(meta)
print v.add_target({"name": "zxczxc", "width": "550", "image": image, "application_metadata": metadata, "active_flag": 1})