Files
Jake Barnby 884dee6717 Push SDKs
2024-02-27 21:12:00 +13:00

385 B

require 'appwrite'

include Appwrite

client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_session('') # The user session to authenticate with

avatars = Avatars.new(client)

result = avatars.get_image( url: 'https://example.com', width: 0, # optional height: 0 # optional )