@@ -8,9 +8,14 @@ open class Avatars: Service {
88 /// Get Browser Icon
99 ///
1010 /// You can use this endpoint to show different browser icons to your users.
11- /// The code argument receives the browser code as it appears in your user
12- /// /account/sessions endpoint. Use width, height and quality arguments to
13- /// change the output settings.
11+ /// The code argument receives the browser code as it appears in your user [GET
12+ /// /account/sessions](/docs/client/account#accountGetSessions) endpoint. Use
13+ /// width, height and quality arguments to change the output settings.
14+ ///
15+ /// When one dimension is specified and the other is 0, the image is scaled
16+ /// with preserved aspect ratio. If both dimensions are 0, the API provides an
17+ /// image at source quality. If dimensions are not specified, the default size
18+ /// of image returned is 100x100px.
1419 ///
1520 /// @param String code
1621 /// @param Int width
@@ -50,6 +55,12 @@ open class Avatars: Service {
5055 /// The credit card endpoint will return you the icon of the credit card
5156 /// provider you need. Use width, height and quality arguments to change the
5257 /// output settings.
58+ ///
59+ /// When one dimension is specified and the other is 0, the image is scaled
60+ /// with preserved aspect ratio. If both dimensions are 0, the API provides an
61+ /// image at source quality. If dimensions are not specified, the default size
62+ /// of image returned is 100x100px.
63+ ///
5364 ///
5465 /// @param String code
5566 /// @param Int width
@@ -116,6 +127,12 @@ open class Avatars: Service {
116127 /// You can use this endpoint to show different country flags icons to your
117128 /// users. The code argument receives the 2 letter country code. Use width,
118129 /// height and quality arguments to change the output settings.
130+ ///
131+ /// When one dimension is specified and the other is 0, the image is scaled
132+ /// with preserved aspect ratio. If both dimensions are 0, the API provides an
133+ /// image at source quality. If dimensions are not specified, the default size
134+ /// of image returned is 100x100px.
135+ ///
119136 ///
120137 /// @param String code
121138 /// @param Int width
@@ -156,6 +173,12 @@ open class Avatars: Service {
156173 /// you want. This endpoint is very useful if you need to crop and display
157174 /// remote images in your app or in case you want to make sure a 3rd party
158175 /// image is properly served using a TLS protocol.
176+ ///
177+ /// When one dimension is specified and the other is 0, the image is scaled
178+ /// with preserved aspect ratio. If both dimensions are 0, the API provides an
179+ /// image at source quality. If dimensions are not specified, the default size
180+ /// of image returned is 400x400px.
181+ ///
159182 ///
160183 /// @param String url
161184 /// @param Int width
@@ -196,6 +219,12 @@ open class Avatars: Service {
196219 /// default, a random theme will be selected. The random theme will persist for
197220 /// the user's initials when reloading the same theme will always return for
198221 /// the same initials.
222+ ///
223+ /// When one dimension is specified and the other is 0, the image is scaled
224+ /// with preserved aspect ratio. If both dimensions are 0, the API provides an
225+ /// image at source quality. If dimensions are not specified, the default size
226+ /// of image returned is 100x100px.
227+ ///
199228 ///
200229 /// @param String name
201230 /// @param Int width
@@ -234,6 +263,7 @@ open class Avatars: Service {
234263 ///
235264 /// Converts a given plain text to a QR code image. You can use the query
236265 /// parameters to change the size and style of the resulting image.
266+ ///
237267 ///
238268 /// @param String text
239269 /// @param Int size
@@ -269,9 +299,14 @@ open class Avatars: Service {
269299 /// Get Browser Icon
270300 ///
271301 /// You can use this endpoint to show different browser icons to your users.
272- /// The code argument receives the browser code as it appears in your user
273- /// /account/sessions endpoint. Use width, height and quality arguments to
274- /// change the output settings.
302+ /// The code argument receives the browser code as it appears in your user [GET
303+ /// /account/sessions](/docs/client/account#accountGetSessions) endpoint. Use
304+ /// width, height and quality arguments to change the output settings.
305+ ///
306+ /// When one dimension is specified and the other is 0, the image is scaled
307+ /// with preserved aspect ratio. If both dimensions are 0, the API provides an
308+ /// image at source quality. If dimensions are not specified, the default size
309+ /// of image returned is 100x100px.
275310 ///
276311 /// @param String code
277312 /// @param Int width
@@ -309,6 +344,12 @@ open class Avatars: Service {
309344 /// The credit card endpoint will return you the icon of the credit card
310345 /// provider you need. Use width, height and quality arguments to change the
311346 /// output settings.
347+ ///
348+ /// When one dimension is specified and the other is 0, the image is scaled
349+ /// with preserved aspect ratio. If both dimensions are 0, the API provides an
350+ /// image at source quality. If dimensions are not specified, the default size
351+ /// of image returned is 100x100px.
352+ ///
312353 ///
313354 /// @param String code
314355 /// @param Int width
@@ -374,6 +415,12 @@ open class Avatars: Service {
374415 /// You can use this endpoint to show different country flags icons to your
375416 /// users. The code argument receives the 2 letter country code. Use width,
376417 /// height and quality arguments to change the output settings.
418+ ///
419+ /// When one dimension is specified and the other is 0, the image is scaled
420+ /// with preserved aspect ratio. If both dimensions are 0, the API provides an
421+ /// image at source quality. If dimensions are not specified, the default size
422+ /// of image returned is 100x100px.
423+ ///
377424 ///
378425 /// @param String code
379426 /// @param Int width
@@ -412,6 +459,12 @@ open class Avatars: Service {
412459 /// you want. This endpoint is very useful if you need to crop and display
413460 /// remote images in your app or in case you want to make sure a 3rd party
414461 /// image is properly served using a TLS protocol.
462+ ///
463+ /// When one dimension is specified and the other is 0, the image is scaled
464+ /// with preserved aspect ratio. If both dimensions are 0, the API provides an
465+ /// image at source quality. If dimensions are not specified, the default size
466+ /// of image returned is 400x400px.
467+ ///
415468 ///
416469 /// @param String url
417470 /// @param Int width
@@ -453,6 +506,12 @@ open class Avatars: Service {
453506 /// default, a random theme will be selected. The random theme will persist for
454507 /// the user's initials when reloading the same theme will always return for
455508 /// the same initials.
509+ ///
510+ /// When one dimension is specified and the other is 0, the image is scaled
511+ /// with preserved aspect ratio. If both dimensions are 0, the API provides an
512+ /// image at source quality. If dimensions are not specified, the default size
513+ /// of image returned is 100x100px.
514+ ///
456515 ///
457516 /// @param String name
458517 /// @param Int width
@@ -492,6 +551,7 @@ open class Avatars: Service {
492551 ///
493552 /// Converts a given plain text to a QR code image. You can use the query
494553 /// parameters to change the size and style of the resulting image.
554+ ///
495555 ///
496556 /// @param String text
497557 /// @param Int size
0 commit comments