You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: package.json
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
"name": "node-appwrite",
3
3
"homepage": "https://appwrite.io/support",
4
4
"description": "Appwrite is an open-source self-hosted backend server that abstract and simplify complex and repetitive development tasks behind a very simple REST API",
Copy file name to clipboardExpand all lines: src/services/avatars.ts
-14Lines changed: 0 additions & 14 deletions
Original file line number
Diff line number
Diff line change
@@ -12,8 +12,6 @@ export class Avatars {
12
12
}
13
13
14
14
/**
15
-
* Get browser icon
16
-
*
17
15
* You can use this endpoint to show different browser icons to your users. The code argument receives the browser code as it appears in your user [GET /account/sessions](https://appwrite.io/docs/references/cloud/client-web/account#getSessions) endpoint. Use width, height and quality arguments to change the output settings.
18
16
19
17
When one dimension is specified and the other is 0, the image is scaled with preserved aspect ratio. If both dimensions are 0, the API provides an image at source quality. If dimensions are not specified, the default size of image returned is 100x100px.
@@ -55,8 +53,6 @@ When one dimension is specified and the other is 0, the image is scaled with pre
55
53
);
56
54
}
57
55
/**
58
-
* Get credit card icon
59
-
*
60
56
* The credit card endpoint will return you the icon of the credit card provider you need. Use width, height and quality arguments to change the output settings.
61
57
62
58
When one dimension is specified and the other is 0, the image is scaled with preserved aspect ratio. If both dimensions are 0, the API provides an image at source quality. If dimensions are not specified, the default size of image returned is 100x100px.
@@ -99,8 +95,6 @@ When one dimension is specified and the other is 0, the image is scaled with pre
99
95
);
100
96
}
101
97
/**
102
-
* Get favicon
103
-
*
104
98
* Use this endpoint to fetch the favorite icon (AKA favicon) of any remote website URL.
105
99
106
100
This endpoint does not follow HTTP redirects.
@@ -133,8 +127,6 @@ This endpoint does not follow HTTP redirects.
133
127
);
134
128
}
135
129
/**
136
-
* Get country flag
137
-
*
138
130
* You can use this endpoint to show different country flags icons to your users. The code argument receives the 2 letter country code. Use width, height and quality arguments to change the output settings. Country codes follow the [ISO 3166-1](https://en.wikipedia.org/wiki/ISO_3166-1) standard.
139
131
140
132
When one dimension is specified and the other is 0, the image is scaled with preserved aspect ratio. If both dimensions are 0, the API provides an image at source quality. If dimensions are not specified, the default size of image returned is 100x100px.
@@ -177,8 +169,6 @@ When one dimension is specified and the other is 0, the image is scaled with pre
177
169
);
178
170
}
179
171
/**
180
-
* Get image from URL
181
-
*
182
172
* Use this endpoint to fetch a remote image URL and crop it to any image size you want. This endpoint is very useful if you need to crop and display remote images in your app or in case you want to make sure a 3rd party image is properly served using a TLS protocol.
183
173
184
174
When one dimension is specified and the other is 0, the image is scaled with preserved aspect ratio. If both dimensions are 0, the API provides an image at source quality. If dimensions are not specified, the default size of image returned is 400x400px.
@@ -221,8 +211,6 @@ This endpoint does not follow HTTP redirects.
221
211
);
222
212
}
223
213
/**
224
-
* Get user initials
225
-
*
226
214
* Use this endpoint to show your user initials avatar icon on your website or app. By default, this route will try to print your logged-in user name or email initials. You can also overwrite the user name if you pass the 'name' parameter. If no name is given and no user is logged, an empty avatar will be returned.
227
215
228
216
You can use the color and background params to change the avatar colors. By default, a random theme will be selected. The random theme will persist for the user's initials when reloading the same theme will always return for the same initials.
@@ -267,8 +255,6 @@ When one dimension is specified and the other is 0, the image is scaled with pre
267
255
);
268
256
}
269
257
/**
270
-
* Get QR code
271
-
*
272
258
* Converts a given plain text to a QR code image. You can use the query parameters to change the size and style of the resulting image.
0 commit comments