require 'appwrite' include Appwrite client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint .set_project('') # Your project ID .set_session('') # The user session to authenticate with storage = Storage.new(client) result = storage.get_file( bucket_id: '', file_id: '' )