Zvini
22:21:35

« Calculation » send

calculation/send - Sends a new calculation.
Method parameters:
receiver_username - The Zvini username of the receiver.
expression - The expression of the calculation.
title - The title of the calculation.
tags - A space-separated list of tags.
Returns a JSON document of the following format:
<boolean> - Always true.
Expected errors:
ENTER_RECEIVER_USERNAME - The receiver username is empty.
INVALID_RECEIVER_USERNAME - The receiver username is invalid.
RECEIVER_NOT_FOUND - No such receiver with the username.
RECEIVER_NOT_RECEIVING - The receiver hasn't opened a connection to receive calculations from you.
ENTER_EXPRESSION - The expression is empty.
INVALID_EXPRESSION - The expression is invalid.
TOO_MANY_TAGS - More than 5 tags given.