dirkgroenen/pinterest-api-php

Is there a way to check if board has been created?

Closed this issue · 1 comments

Compliments for your good work.

How can i check if a board has been created already to avoid creating a board with same name which can lead to error?

You could try to retrieve the board via boards->get() and see if a board or exception is being returned/thrown.

Alternatively you could try to create the board, catch the exception and use that to inform the user about the already existing board.