Skip to main content

 

I'm currently trying to get images on the Miro board using MiroAPI or SDK. However, when you run the code below, nothing is displayed in the URL field. What should I do? What I want to do is get the image on the Miro board and paste it into my web application via the server, and one way to do that is to use a URL. I would like to know if there is another method.

const allWidgets = await miro.board.get();

    const imageWidgets = allWidgets.filter(widget => widget.type === 'image');

    const imageData = imageWidgets.map(image => {

        return {

            id: image.id,

            url: image.url, 

            title: image.title,

            position: image.bounds 

        };

    });

  console.log(imageData);

 

No replies yet...

Reply