Help with the Rest api in phnp script

atleos

Joined: 2012-02-02
Posts: 1
Posted: Thu, 2012-02-02 12:06

Hi

I have enabled the rest api in Gallery3 and are able to add new images using the example.php script. But my problem are the album are created new each time. It dont use the old album that allready exist in the gallery. Are someone have example code to use perforing the following:

Search for existing album
Search for images

I will use the script to run from the concole in fedora linux as an cronejob. Add new pictures to album without manual work.