sofirst publisher api integreation code