Create profile card statistik account screenshot, simple and elegan
https://editor.vreden.my.id/youtube
Header | Type | Description |
---|---|---|
Content-Type | String | image/png |
Berikut adalah contoh URLSearchParams request yang bisa dipakai untuk mendapatkan image YouTube profile template.
{ "username": "@username", "profile": "url profile", "subscribers": 123, "views": 12345, "video": 13, "bio": "Your Bio Here!" }
Berikut adalah contoh code yang bisa di pakai untuk mendapatkan image tersebut.
const apiUrl = 'url endpoint' const params = new URLSearchParams({ username: "@username", profile: "url profile", subscribers: 123, views: 12345, video: 13, bio: "Your Bio Here!" }).toString(); const fullUrl = `${apiUrl}?${params}`
Keterangan untuk const yang ada di code tersebut.
Field | Type | Description |
---|---|---|
apiUrl | URL | Berisi URL endpoint web api |
params | JSON | Isi JSON data yang di convert ke params URL |
fullUrl | URL | Hasil akhir dari search params, ini yang digunakan untuk get buffer |
Keterangan untuk params request URLSearchParams.
Field | Type | Description |
---|---|---|
username | String | Nama pengguna. |
profile | URL | URL foto profil pengguna. |
subscribers | Angka | Jumlah subscribers account. |
views | Angka | Total jumlah penonton video. |
video | Angka | Total jumlah video uploaders. |
bio | String | Bio data pengguna users. |