@@ -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
@@ -49,6 +54,12 @@ open class Avatars: Service {
4954 /// The credit card endpoint will return you the icon of the credit card
5055 /// provider you need. Use width, height and quality arguments to change the
5156 /// output settings.
57+ ///
58+ /// When one dimension is specified and the other is 0, the image is scaled
59+ /// with preserved aspect ratio. If both dimensions are 0, the API provides an
60+ /// image at source quality. If dimensions are not specified, the default size
61+ /// of image returned is 100x100px.
62+ ///
5263 ///
5364 /// @param String code
5465 /// @param Int width
@@ -113,6 +124,12 @@ open class Avatars: Service {
113124 /// You can use this endpoint to show different country flags icons to your
114125 /// users. The code argument receives the 2 letter country code. Use width,
115126 /// height and quality arguments to change the output settings.
127+ ///
128+ /// When one dimension is specified and the other is 0, the image is scaled
129+ /// with preserved aspect ratio. If both dimensions are 0, the API provides an
130+ /// image at source quality. If dimensions are not specified, the default size
131+ /// of image returned is 100x100px.
132+ ///
116133 ///
117134 /// @param String code
118135 /// @param Int width
@@ -152,6 +169,12 @@ open class Avatars: Service {
152169 /// you want. This endpoint is very useful if you need to crop and display
153170 /// remote images in your app or in case you want to make sure a 3rd party
154171 /// image is properly served using a TLS protocol.
172+ ///
173+ /// When one dimension is specified and the other is 0, the image is scaled
174+ /// with preserved aspect ratio. If both dimensions are 0, the API provides an
175+ /// image at source quality. If dimensions are not specified, the default size
176+ /// of image returned is 400x400px.
177+ ///
155178 ///
156179 /// @param String url
157180 /// @param Int width
@@ -191,6 +214,12 @@ open class Avatars: Service {
191214 /// default, a random theme will be selected. The random theme will persist for
192215 /// the user's initials when reloading the same theme will always return for
193216 /// the same initials.
217+ ///
218+ /// When one dimension is specified and the other is 0, the image is scaled
219+ /// with preserved aspect ratio. If both dimensions are 0, the API provides an
220+ /// image at source quality. If dimensions are not specified, the default size
221+ /// of image returned is 100x100px.
222+ ///
194223 ///
195224 /// @param String name
196225 /// @param Int width
@@ -228,6 +257,7 @@ open class Avatars: Service {
228257 ///
229258 /// Converts a given plain text to a QR code image. You can use the query
230259 /// parameters to change the size and style of the resulting image.
260+ ///
231261 ///
232262 /// @param String text
233263 /// @param Int size
@@ -262,9 +292,14 @@ open class Avatars: Service {
262292 /// Get Browser Icon
263293 ///
264294 /// You can use this endpoint to show different browser icons to your users.
265- /// The code argument receives the browser code as it appears in your user
266- /// /account/sessions endpoint. Use width, height and quality arguments to
267- /// change the output settings.
295+ /// The code argument receives the browser code as it appears in your user [GET
296+ /// /account/sessions](/docs/client/account#accountGetSessions) endpoint. Use
297+ /// width, height and quality arguments to change the output settings.
298+ ///
299+ /// When one dimension is specified and the other is 0, the image is scaled
300+ /// with preserved aspect ratio. If both dimensions are 0, the API provides an
301+ /// image at source quality. If dimensions are not specified, the default size
302+ /// of image returned is 100x100px.
268303 ///
269304 /// @param String code
270305 /// @param Int width
@@ -302,6 +337,12 @@ open class Avatars: Service {
302337 /// The credit card endpoint will return you the icon of the credit card
303338 /// provider you need. Use width, height and quality arguments to change the
304339 /// output settings.
340+ ///
341+ /// When one dimension is specified and the other is 0, the image is scaled
342+ /// with preserved aspect ratio. If both dimensions are 0, the API provides an
343+ /// image at source quality. If dimensions are not specified, the default size
344+ /// of image returned is 100x100px.
345+ ///
305346 ///
306347 /// @param String code
307348 /// @param Int width
@@ -367,6 +408,12 @@ open class Avatars: Service {
367408 /// You can use this endpoint to show different country flags icons to your
368409 /// users. The code argument receives the 2 letter country code. Use width,
369410 /// height and quality arguments to change the output settings.
411+ ///
412+ /// When one dimension is specified and the other is 0, the image is scaled
413+ /// with preserved aspect ratio. If both dimensions are 0, the API provides an
414+ /// image at source quality. If dimensions are not specified, the default size
415+ /// of image returned is 100x100px.
416+ ///
370417 ///
371418 /// @param String code
372419 /// @param Int width
@@ -405,6 +452,12 @@ open class Avatars: Service {
405452 /// you want. This endpoint is very useful if you need to crop and display
406453 /// remote images in your app or in case you want to make sure a 3rd party
407454 /// image is properly served using a TLS protocol.
455+ ///
456+ /// When one dimension is specified and the other is 0, the image is scaled
457+ /// with preserved aspect ratio. If both dimensions are 0, the API provides an
458+ /// image at source quality. If dimensions are not specified, the default size
459+ /// of image returned is 400x400px.
460+ ///
408461 ///
409462 /// @param String url
410463 /// @param Int width
@@ -446,6 +499,12 @@ open class Avatars: Service {
446499 /// default, a random theme will be selected. The random theme will persist for
447500 /// the user's initials when reloading the same theme will always return for
448501 /// the same initials.
502+ ///
503+ /// When one dimension is specified and the other is 0, the image is scaled
504+ /// with preserved aspect ratio. If both dimensions are 0, the API provides an
505+ /// image at source quality. If dimensions are not specified, the default size
506+ /// of image returned is 100x100px.
507+ ///
449508 ///
450509 /// @param String name
451510 /// @param Int width
@@ -485,6 +544,7 @@ open class Avatars: Service {
485544 ///
486545 /// Converts a given plain text to a QR code image. You can use the query
487546 /// parameters to change the size and style of the resulting image.
547+ ///
488548 ///
489549 /// @param String text
490550 /// @param Int size
0 commit comments