Access WorkDrive with PHP and Select Folder & Files

Access WorkDrive with PHP and Select Folder & Files

There are three things I'd like to do with the WorkDrive API.
  1. Access it with PHP 
  2. Select the name of Folders at the root level so I can store them in a table.
  3. Select the files and display them somewhere else (for example another domain).
Is this possible and or is there a simple PHP script you have that I could reference/use?

Any help would be appreciated.