Download

ClickMeeting API allows to receive list of all files in your file library. Every returned position contains such data like status, document type, file name. As you can see, retrieving list of your files is very easy:

1
2
3
4
5
try {
    $files = $client->fileLibrary();
} catch (Exception $e) {
     // handle exceptions here
}
1
2
3
4
5
begin
    files = client.fileLibrary()
rescue ClickMeeting::ClientError => e
    # handle exceptions here
end
1
2
3
4
5
try:
    files = client.fileLibrary()
except Exception, e:
    # handle exceptions here

We can also receive a particular file details using fileLibraryFile method, file ID number will be required.

1
2
3
4
5
try {
    $file = $client->fileLibraryFile($file_id);
} catch (Exception $e) {
     // handle exceptions here
}
1
2
3
4
5
begin
    file = client.fileLibraryFile(file_id)
rescue ClickMeeting::ClientError => e
    # handle exceptions here
end
1
2
3
4
5
try:
    file = client.fileLibraryFile(file_id)
except Exception, e:
    # handle exceptions here

We can now download particular file contant using fileLibraryContent, file ID number will be required.

1
2
3
4
5
try {
    $file_content = $client->fileLibraryContent($file_id);
} catch (Exception $e) {
     // handle exceptions here
}
1
2
3
4
5
begin
    file_content = client.fileLibraryContent(file_id)
rescue ClickMeeting::ClientError => e
    # handle exceptions here
end
1
2
3
4
5
try:
    file_content = client.fileLibraryContent(file_id)
except Exception, e:
    # handle exceptions here

You can find more detailed descriptions in the API Function Reference manual.