beeapi example is broken

use `Params` instead of `Param`