I'm experimenting with the API in Ruby, and am having trouble getting
the file_ids for my files. When I call get_files, the response looks
like
<pre><code>
<?xml version="1.0" encoding="UTF-8"?>
<response status="1">
<files>
<file>
<file_name>snow_white.MOV</file_name>
<file_description></file_description>
<file_size>2.13</file_size>
<downloads>0</downloads>
<last_downloaded_at>0</last_downloaded_at>
<uploaded_at>1192600742</uploaded_at>
<folder_title></folder_title>
<folder_id></folder_id>
</file>
...snip...
</files>
</response>
</code></pre>
The API page says I should get a <file_id> element first, but it
doesn't show up for any of my files. I tried the slug from the url and
that doesn't seem to work in my code, or in the PHP library.
Any ideas?
Thanks!
Eric
A correction: the output is from get_user_files, not get_files. I
can't get any results from get_files, since I can't find the file_ids.