@@ -8,9 +8,14 @@ open class Avatars: Service {
8
8
/// Get Browser Icon
9
9
///
10
10
/// 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.
14
19
///
15
20
/// @param String code
16
21
/// @param Int width
@@ -50,6 +55,12 @@ open class Avatars: Service {
50
55
/// The credit card endpoint will return you the icon of the credit card
51
56
/// provider you need. Use width, height and quality arguments to change the
52
57
/// 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
+ ///
53
64
///
54
65
/// @param String code
55
66
/// @param Int width
@@ -116,6 +127,12 @@ open class Avatars: Service {
116
127
/// You can use this endpoint to show different country flags icons to your
117
128
/// users. The code argument receives the 2 letter country code. Use width,
118
129
/// 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
+ ///
119
136
///
120
137
/// @param String code
121
138
/// @param Int width
@@ -156,6 +173,12 @@ open class Avatars: Service {
156
173
/// you want. This endpoint is very useful if you need to crop and display
157
174
/// remote images in your app or in case you want to make sure a 3rd party
158
175
/// 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
+ ///
159
182
///
160
183
/// @param String url
161
184
/// @param Int width
@@ -196,6 +219,12 @@ open class Avatars: Service {
196
219
/// default, a random theme will be selected. The random theme will persist for
197
220
/// the user's initials when reloading the same theme will always return for
198
221
/// 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
+ ///
199
228
///
200
229
/// @param String name
201
230
/// @param Int width
@@ -234,6 +263,7 @@ open class Avatars: Service {
234
263
///
235
264
/// Converts a given plain text to a QR code image. You can use the query
236
265
/// parameters to change the size and style of the resulting image.
266
+ ///
237
267
///
238
268
/// @param String text
239
269
/// @param Int size
@@ -269,9 +299,14 @@ open class Avatars: Service {
269
299
/// Get Browser Icon
270
300
///
271
301
/// 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.
275
310
///
276
311
/// @param String code
277
312
/// @param Int width
@@ -309,6 +344,12 @@ open class Avatars: Service {
309
344
/// The credit card endpoint will return you the icon of the credit card
310
345
/// provider you need. Use width, height and quality arguments to change the
311
346
/// 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
+ ///
312
353
///
313
354
/// @param String code
314
355
/// @param Int width
@@ -374,6 +415,12 @@ open class Avatars: Service {
374
415
/// You can use this endpoint to show different country flags icons to your
375
416
/// users. The code argument receives the 2 letter country code. Use width,
376
417
/// 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
+ ///
377
424
///
378
425
/// @param String code
379
426
/// @param Int width
@@ -412,6 +459,12 @@ open class Avatars: Service {
412
459
/// you want. This endpoint is very useful if you need to crop and display
413
460
/// remote images in your app or in case you want to make sure a 3rd party
414
461
/// 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
+ ///
415
468
///
416
469
/// @param String url
417
470
/// @param Int width
@@ -453,6 +506,12 @@ open class Avatars: Service {
453
506
/// default, a random theme will be selected. The random theme will persist for
454
507
/// the user's initials when reloading the same theme will always return for
455
508
/// 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
+ ///
456
515
///
457
516
/// @param String name
458
517
/// @param Int width
@@ -492,6 +551,7 @@ open class Avatars: Service {
492
551
///
493
552
/// Converts a given plain text to a QR code image. You can use the query
494
553
/// parameters to change the size and style of the resulting image.
554
+ ///
495
555
///
496
556
/// @param String text
497
557
/// @param Int size
0 commit comments