@unavatar/core 3.45.0 → 3.45.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +0 -98
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -19,26 +19,21 @@
|
|
|
19
19
|
- [Providers](#providers)
|
|
20
20
|
- [Apple Music](#apple-music)
|
|
21
21
|
- [Apple Store](#apple-store)
|
|
22
|
-
- [Baidu Tieba](#baidu-tieba)
|
|
23
22
|
- [Behance](#behance)
|
|
24
|
-
- [Bilibili](#bilibili)
|
|
25
23
|
- [Bluesky](#bluesky)
|
|
26
24
|
- [Buy Me a Coffee](#buy-me-a-coffee)
|
|
27
25
|
- [CodePen](#codepen)
|
|
28
26
|
- [Cults3D](#cults3d)
|
|
29
27
|
- [Cursor](#cursor)
|
|
30
|
-
- [Deezer](#deezer)
|
|
31
28
|
- [DeviantArt](#deviantart)
|
|
32
29
|
- [Discord](#discord)
|
|
33
30
|
- [Docker Hub](#docker-hub)
|
|
34
31
|
- [Domain](#domain)
|
|
35
|
-
- [Douban](#douban)
|
|
36
32
|
- [Dribbble](#dribbble)
|
|
37
33
|
- [DuckDuckGo](#duckduckgo)
|
|
38
34
|
- [Email](#email)
|
|
39
35
|
- [Facebook](#facebook)
|
|
40
36
|
- [Flickr](#flickr)
|
|
41
|
-
- [Gitee](#gitee)
|
|
42
37
|
- [GitHub](#github)
|
|
43
38
|
- [GitLab](#gitlab)
|
|
44
39
|
- [Google](#google)
|
|
@@ -47,13 +42,11 @@
|
|
|
47
42
|
- [Hevy](#hevy)
|
|
48
43
|
- [Hugging Face](#hugging-face)
|
|
49
44
|
- [Instagram](#instagram)
|
|
50
|
-
- [Juejin](#juejin)
|
|
51
45
|
- [Ko-fi](#ko-fi)
|
|
52
46
|
- [LinkedIn](#linkedin)
|
|
53
47
|
- [Mastodon](#mastodon)
|
|
54
48
|
- [Medium](#medium)
|
|
55
49
|
- [Microlink](#microlink)
|
|
56
|
-
- [NetEase Music](#netease-music)
|
|
57
50
|
- [npm](#npm)
|
|
58
51
|
- [OnlyFans](#onlyfans)
|
|
59
52
|
- [OpenStreetMap](#openstreetmap)
|
|
@@ -63,7 +56,6 @@
|
|
|
63
56
|
- [Printables](#printables)
|
|
64
57
|
- [Product Hunt](#product-hunt)
|
|
65
58
|
- [PSN Profiles](#psn-profiles)
|
|
66
|
-
- [QQ](#qq)
|
|
67
59
|
- [Raycast](#raycast)
|
|
68
60
|
- [Reddit](#reddit)
|
|
69
61
|
- [Snapchat](#snapchat)
|
|
@@ -76,17 +68,14 @@
|
|
|
76
68
|
- [Telegram](#telegram)
|
|
77
69
|
- [Thingiverse](#thingiverse)
|
|
78
70
|
- [Threads](#threads)
|
|
79
|
-
- [TIDAL](#tidal)
|
|
80
71
|
- [TikTok](#tiktok)
|
|
81
72
|
- [Tumblr](#tumblr)
|
|
82
73
|
- [Twitch](#twitch)
|
|
83
74
|
- [Vimeo](#vimeo)
|
|
84
|
-
- [Weibo](#weibo)
|
|
85
75
|
- [WhatsApp](#whatsapp)
|
|
86
76
|
- [X/Twitter](#xtwitter)
|
|
87
77
|
- [Xbox Gamertag](#xbox-gamertag)
|
|
88
78
|
- [YouTube](#youtube)
|
|
89
|
-
- [Zhihu](#zhihu)
|
|
90
79
|
- [Response Format](#response-format)
|
|
91
80
|
- [Response Headers](#response-headers)
|
|
92
81
|
- [Response Errors](#response-errors)
|
|
@@ -567,24 +556,12 @@ Available inputs:
|
|
|
567
556
|
- `id` (default): [unavatar.io/apple-store/id:529479190](https://unavatar.io/apple-store/id:529479190) or [unavatar.io/apple-store/id:6474323148@es](https://unavatar.io/apple-store/id:6474323148@es)
|
|
568
557
|
- `name`: [unavatar.io/apple-store/name:pokemon%20go](https://unavatar.io/apple-store/name:pokemon%20go)
|
|
569
558
|
|
|
570
|
-
### Baidu Tieba
|
|
571
|
-
|
|
572
|
-
Get any Baidu Tieba user's profile picture by their username.
|
|
573
|
-
|
|
574
|
-
e.g., [unavatar.io/tieba/Mojang](https://unavatar.io/tieba/Mojang)
|
|
575
|
-
|
|
576
559
|
### Behance
|
|
577
560
|
|
|
578
561
|
Get any Behance user's profile picture by their username.
|
|
579
562
|
|
|
580
563
|
e.g., [unavatar.io/behance/vitormatosinhos](https://unavatar.io/behance/vitormatosinhos)
|
|
581
564
|
|
|
582
|
-
### Bilibili
|
|
583
|
-
|
|
584
|
-
Get any Bilibili user's profile picture by their numeric uid.
|
|
585
|
-
|
|
586
|
-
e.g., [unavatar.io/bilibili/2](https://unavatar.io/bilibili/2)
|
|
587
|
-
|
|
588
565
|
### Bluesky
|
|
589
566
|
|
|
590
567
|
Get any Bluesky user's profile picture by their handle. Domain-style handles are supported.
|
|
@@ -618,21 +595,6 @@ Get any Cursor user's profile picture by their username.
|
|
|
618
595
|
|
|
619
596
|
e.g., [unavatar.io/cursor/leerob](https://unavatar.io/cursor/leerob)
|
|
620
597
|
|
|
621
|
-
### Deezer
|
|
622
|
-
|
|
623
|
-
Get artwork for any Deezer entity — artists, albums, playlists, or tracks. Look up by Deezer ID.
|
|
624
|
-
|
|
625
|
-
By default the input is treated as an artist:
|
|
626
|
-
|
|
627
|
-
e.g., [unavatar.io/deezer/27](https://unavatar.io/deezer/27)
|
|
628
|
-
|
|
629
|
-
The input also supports a URI format `type:id`:
|
|
630
|
-
|
|
631
|
-
- `artist` (default): [unavatar.io/deezer/artist:27](https://unavatar.io/deezer/artist:27)
|
|
632
|
-
- `album`: [unavatar.io/deezer/album:302127](https://unavatar.io/deezer/album:302127)
|
|
633
|
-
- `playlist`: [unavatar.io/deezer/playlist:908622995](https://unavatar.io/deezer/playlist:908622995)
|
|
634
|
-
- `track`: [unavatar.io/deezer/track:3135556](https://unavatar.io/deezer/track:3135556)
|
|
635
|
-
|
|
636
598
|
### DeviantArt
|
|
637
599
|
|
|
638
600
|
Get any DeviantArt user's profile picture by their username.
|
|
@@ -660,12 +622,6 @@ Retrieve logos and favicons from any hostname with a single URL. Domain-shaped p
|
|
|
660
622
|
|
|
661
623
|
e.g., [unavatar.io/domain/microlink.io](https://unavatar.io/domain/microlink.io)
|
|
662
624
|
|
|
663
|
-
### Douban
|
|
664
|
-
|
|
665
|
-
Get any Douban user's profile picture by their username or numeric ID.
|
|
666
|
-
|
|
667
|
-
e.g., [unavatar.io/douban/ahbei](https://unavatar.io/douban/ahbei)
|
|
668
|
-
|
|
669
625
|
### Dribbble
|
|
670
626
|
|
|
671
627
|
Get any Dribbble designer's profile picture by their username.
|
|
@@ -722,12 +678,6 @@ Available inputs:
|
|
|
722
678
|
- `user` (default): [unavatar.io/flickr/user:elizabethgadd](https://unavatar.io/flickr/user:elizabethgadd)
|
|
723
679
|
- `group`: [unavatar.io/flickr/group:allthingsearthy](https://unavatar.io/flickr/group:allthingsearthy)
|
|
724
680
|
|
|
725
|
-
### Gitee
|
|
726
|
-
|
|
727
|
-
Get any Gitee user or organization's profile picture by their username.
|
|
728
|
-
|
|
729
|
-
e.g., [unavatar.io/gitee/y_project](https://unavatar.io/gitee/y_project)
|
|
730
|
-
|
|
731
681
|
### GitHub
|
|
732
682
|
|
|
733
683
|
Get any GitHub user or organization's profile picture by username, or resolve an avatar from a public email via GitHub search when the address matches a profile or commit history.
|
|
@@ -801,12 +751,6 @@ Get any Instagram user's profile picture by their username. No authentication or
|
|
|
801
751
|
|
|
802
752
|
e.g., [unavatar.io/instagram/willsmith](https://unavatar.io/instagram/willsmith)
|
|
803
753
|
|
|
804
|
-
### Juejin
|
|
805
|
-
|
|
806
|
-
Get any Juejin user's profile picture by their numeric user ID.
|
|
807
|
-
|
|
808
|
-
e.g., [unavatar.io/juejin/1556564194374926](https://unavatar.io/juejin/1556564194374926)
|
|
809
|
-
|
|
810
754
|
### Ko-fi
|
|
811
755
|
|
|
812
756
|
Get any Ko-fi page's profile picture by the creator username.
|
|
@@ -842,12 +786,6 @@ Extract the logo or representative image from any URL. The page is rendered and
|
|
|
842
786
|
|
|
843
787
|
e.g., [unavatar.io/microlink/microlink.io](https://unavatar.io/microlink/microlink.io)
|
|
844
788
|
|
|
845
|
-
### NetEase Music
|
|
846
|
-
|
|
847
|
-
Get any NetEase Cloud Music user's profile picture by their numeric user ID.
|
|
848
|
-
|
|
849
|
-
e.g., [unavatar.io/netease-music/32953014](https://unavatar.io/netease-music/32953014)
|
|
850
|
-
|
|
851
789
|
### npm
|
|
852
790
|
|
|
853
791
|
Get any npm user's profile picture by their username, including scoped handles.
|
|
@@ -912,14 +850,6 @@ Get any PlayStation Network user's profile picture by their PSN username.
|
|
|
912
850
|
|
|
913
851
|
e.g., [unavatar.io/psnprofiles/Duff85](https://unavatar.io/psnprofiles/Duff85)
|
|
914
852
|
|
|
915
|
-
### QQ
|
|
916
|
-
|
|
917
|
-
Get any QQ user's profile picture by their QQ number.
|
|
918
|
-
|
|
919
|
-
e.g., [unavatar.io/qq/10001](https://unavatar.io/qq/10001)
|
|
920
|
-
|
|
921
|
-
Note: unknown numbers resolve to QQ's default avatar, similar to Gravatar.
|
|
922
|
-
|
|
923
853
|
### Raycast
|
|
924
854
|
|
|
925
855
|
Get any Raycast user's profile picture by their username.
|
|
@@ -1015,22 +945,6 @@ Get any Threads user's profile picture by their username.
|
|
|
1015
945
|
|
|
1016
946
|
e.g., [unavatar.io/threads/zuck](https://unavatar.io/threads/zuck)
|
|
1017
947
|
|
|
1018
|
-
### TIDAL
|
|
1019
|
-
|
|
1020
|
-
Get artwork for any TIDAL entity — artists, albums, playlists, tracks, or videos. Look up by TIDAL ID.
|
|
1021
|
-
|
|
1022
|
-
By default the input is treated as an artist:
|
|
1023
|
-
|
|
1024
|
-
e.g., [unavatar.io/tidal/1566](https://unavatar.io/tidal/1566)
|
|
1025
|
-
|
|
1026
|
-
The input also supports a URI format `type:id`:
|
|
1027
|
-
|
|
1028
|
-
- `artist` (default): [unavatar.io/tidal/artist:1566](https://unavatar.io/tidal/artist:1566)
|
|
1029
|
-
- `album`: [unavatar.io/tidal/album:1765857](https://unavatar.io/tidal/album:1765857)
|
|
1030
|
-
- `playlist`: [unavatar.io/tidal/playlist:c3c18106-c4f5-4021-bb18-108255c1f450](https://unavatar.io/tidal/playlist:c3c18106-c4f5-4021-bb18-108255c1f450)
|
|
1031
|
-
- `track`: [unavatar.io/tidal/track:113655761](https://unavatar.io/tidal/track:113655761)
|
|
1032
|
-
- `video`: [unavatar.io/tidal/video:45323542](https://unavatar.io/tidal/video:45323542)
|
|
1033
|
-
|
|
1034
948
|
### TikTok
|
|
1035
949
|
|
|
1036
950
|
Get any TikTok user's profile picture by their username. No authentication or API tokens needed — just pass the username.
|
|
@@ -1055,12 +969,6 @@ Get any Vimeo user's profile picture by their username.
|
|
|
1055
969
|
|
|
1056
970
|
e.g., [unavatar.io/vimeo/ladieswithlenses](https://unavatar.io/vimeo/ladieswithlenses)
|
|
1057
971
|
|
|
1058
|
-
### Weibo
|
|
1059
|
-
|
|
1060
|
-
Get any Weibo user's profile picture by their numeric uid or nickname.
|
|
1061
|
-
|
|
1062
|
-
e.g., [unavatar.io/weibo/2803301701](https://unavatar.io/weibo/2803301701)
|
|
1063
|
-
|
|
1064
972
|
### WhatsApp
|
|
1065
973
|
|
|
1066
974
|
Get the profile picture for a WhatsApp channel or chat by ID.
|
|
@@ -1100,12 +1008,6 @@ Available inputs:
|
|
|
1100
1008
|
- `username`: [unavatar.io/youtube/casey](https://unavatar.io/youtube/casey)
|
|
1101
1009
|
- `channel`: [unavatar.io/youtube/UC_x5XG1OV2P6uZZ5FSM9Ttw](https://unavatar.io/youtube/UC_x5XG1OV2P6uZZ5FSM9Ttw)
|
|
1102
1010
|
|
|
1103
|
-
### Zhihu
|
|
1104
|
-
|
|
1105
|
-
Get any Zhihu user's profile picture by their URL token (the handle in the profile URL).
|
|
1106
|
-
|
|
1107
|
-
e.g., [unavatar.io/zhihu/kaifulee](https://unavatar.io/zhihu/kaifulee)
|
|
1108
|
-
|
|
1109
1011
|
## Response Format
|
|
1110
1012
|
|
|
1111
1013
|
A response is returning the user avatar by default.
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@unavatar/core",
|
|
3
3
|
"description": "Get unified user avatar from social networks, including Instagram, SoundCloud, Telegram, Twitter, YouTube & more.",
|
|
4
4
|
"homepage": "https://unavatar.io",
|
|
5
|
-
"version": "3.45.
|
|
5
|
+
"version": "3.45.1",
|
|
6
6
|
"main": "src/index.js",
|
|
7
7
|
"exports": {
|
|
8
8
|
".": "./src/index.js",
|