setting up rials API