pull random method from api json