linestickerdata

repo to get line sticker data


License
MIT
Install
pip install linestickerdata==0.1.16

Documentation

library to download line sticker data

Quickstart

import linestickerdata
linestickerdata.list_available()
linestickerdata.get_image_paths(folder="data", n=100000, num_workers=64)

To see the list of available data use this command

linestickerdata.list_available()

[{'folder': 'dataofficial',
  'category': ['Pop-Up Stickers',
  'Big stickers',
  'BROWN & FRIENDS',
  'Animated Stickers',
  'Humor and Entertainment',
  'Anime',
  'Games',
  'With Voice or Sound',
  'Kids Cartoons',
  'Horoscope',
  'Music sticker',
  'TV Stars',
  'Cartoons',
  'Love and Romance',
  'Manga',
  "Official Creators' Stickers",
  'Disney',
  'Sanrio',
  'Characters',
  'Custom stickers'],
  'total': 2948,
  'count': {'Animated Stickers': 967,
  'With Voice or Sound': 613,
  'Music sticker': 43,
  'Sanrio': 65,
  'Cartoons': 90,
  'Humor and Entertainment': 66,
  'Horoscope': 1,
  'TV Stars': 90,
  'Manga': 142,
  'Pop-Up Stickers': 149,
  'BROWN & FRIENDS': 68,
  'Characters': 241,
  "Official Creators' Stickers": 3,
  'Disney': 145,
  'Big stickers': 12,
  'Games': 36,
  'Kids Cartoons': 54,
  'Anime': 76,
  'Custom stickers': 46,
  'Love and Romance': 41}},
{'folder': 'dataofficial-th',
  'category': ['āļ„āļĢāļĩāđ€āļ­āđ€āļ•āļ­āļĢāđŒāļ—āļēāļ‡āļāļēāļĢ',
  'BROWN&FRIENDS',
  'āļĄāļēāļŠāļ„āļ­āļ•',
  'āļŠāļ•āļīāļāđ€āļāļ­āļĢāđŒāđāļ­āļ™āļīāđ€āļĄāļŠāļąāļ™',
  'āļ„āļ§āļēāļĄāļĢāļąāļāđāļĨāļ°āđ‚āļĢāđāļĄāļ™āļ•āļīāļ',
  'āļŠāļ•āļīāļāđ€āļāļ­āļĢāđŒāđ€āļ•āļīāļĄāļ„āļģ',
  'āļāļēāļĢāđŒāļ•āļđāļ™āđ€āļ”āđ‡āļ',
  'āļ”āļēāļĢāļē & āļ„āļ™āļ”āļąāļ‡',
  'āļ”āļīāļŠāļ™āļĩāļĒāđŒ',
  'āļ­āļ™āļīāđ€āļĄāļ°',
  'āļŠāļ•āļīāļāđ€āļāļ­āļĢāđŒāļĄāļĩāđ€āļŠāļĩāļĒāļ‡',
  'āļ”āļ§āļ‡āļŠāļ°āļ•āļēāļĢāļēāļĻāļĩ',
  'āđ€āļāļĄ',
  'āļŠāļ•āļīāļāđ€āļāļ­āļĢāđŒāļ›āđŠāļ­āļ›āļ­āļąāļž',
  'āļšāļīāđŠāļāļŠāļ•āļīāļāđ€āļāļ­āļĢāđŒ',
  'āļ•āļĨāļāļ‚āļšāļ‚āļąāļ™',
  'āļ‹āļēāļ™āļĢāļīāđ‚āļ­āđ‰',
  'āļĄāļąāļ‡āļ‡āļ°',
  'āļāļēāļĢāđŒāļ•āļđāļ™',
  'āļĄāļīāļ§āļŠāļīāļ„āļŠāļ•āļīāļāđ€āļāļ­āļĢāđŒ'],
  'total': 2922,
  'count': {'āļšāļīāđŠāļāļŠāļ•āļīāļāđ€āļāļ­āļĢāđŒ': 11,
  'āļ„āļ§āļēāļĄāļĢāļąāļāđāļĨāļ°āđ‚āļĢāđāļĄāļ™āļ•āļīāļ': 41,
  'āļ”āļēāļĢāļē & āļ„āļ™āļ”āļąāļ‡': 85,
  'āļ„āļĢāļĩāđ€āļ­āđ€āļ•āļ­āļĢāđŒāļ—āļēāļ‡āļāļēāļĢ': 3,
  'āļ•āļĨāļāļ‚āļšāļ‚āļąāļ™': 66,
  'āļŠāļ•āļīāļāđ€āļāļ­āļĢāđŒāđ€āļ•āļīāļĄāļ„āļģ': 41,
  'āļāļēāļĢāđŒāļ•āļđāļ™': 88,
  'āļŠāļ•āļīāļāđ€āļāļ­āļĢāđŒāđāļ­āļ™āļīāđ€āļĄāļŠāļąāļ™': 962,
  'BROWN&FRIENDS': 68,
  'āļ”āļīāļŠāļ™āļĩāļĒāđŒ': 144,
  'āļŠāļ•āļīāļāđ€āļāļ­āļĢāđŒāļĄāļĩāđ€āļŠāļĩāļĒāļ‡': 611,
  'āļ”āļ§āļ‡āļŠāļ°āļ•āļēāļĢāļēāļĻāļĩ': 1,
  'āļ‹āļēāļ™āļĢāļīāđ‚āļ­āđ‰': 65,
  'āļĄāļąāļ‡āļ‡āļ°': 140,
  'āļ­āļ™āļīāđ€āļĄāļ°': 73,
  'āļāļēāļĢāđŒāļ•āļđāļ™āđ€āļ”āđ‡āļ': 54,
  'āļĄāļīāļ§āļŠāļīāļ„āļŠāļ•āļīāļāđ€āļāļ­āļĢāđŒ': 43,
  'āđ€āļāļĄ': 36,
  'āļĄāļēāļŠāļ„āļ­āļ•': 241,
  'āļŠāļ•āļīāļāđ€āļāļ­āļĢāđŒāļ›āđŠāļ­āļ›āļ­āļąāļž': 149}},
{'folder': 'data',
  'taste': ['Polite Language',
  'Seasonal',
  'Gorgeous',
  'Dialects & Slang',
  'Speech Balloons',
  'Humorous',
  'Greetings',
  'Warm & Fuzzy',
  'Cute',
  'Cool',
  'Wacky'],
  'character': ['Female Characters',
  'Rabbits',
  'Male Characters',
  'Pandas',
  'Birds',
  'Bears',
  'Weird',
  'Families & Couples',
  'Seals',
  'Names',
  'Dogs',
  'Cats',
  'Food',
  'Other'],
  'total': 357361,
  'count': {'Gorgeous': 28127,
  'Food': 23821,
  'Names': 54413,
  'Dogs': 24892,
  'Other': 50951,
  'Rabbits': 23737,
  'Female Characters': 38145,
  'Families & Couples': 29035,
  'Male Characters': 37325,
  'Cats': 30389,
  'Pandas': 7705,
  'Birds': 17307,
  'Seals': 2515,
  'Bears': 17126,
  'Greetings': 28684,
  'Weird': 44552,
  'Polite Language': 16073,
  'Humorous': 47116,
  'Cool': 23471,
  'Dialects & Slang': 27144,
  'Cute': 58422,
  'Seasonal': 13303,
  'Speech Balloons': 14157,
  'Warm & Fuzzy': 56312}},
{'folder': 'data-th',
  'taste': ['āļ•āļĨāļ',
  'āđ€āļ—āļĻāļāļēāļĨ',
  'āļ—āļąāļāļ—āļēāļĒ',
  'āļ āļēāļĐāļēāļ—āđ‰āļ­āļ‡āļ–āļīāđˆāļ™, āļŠāđāļĨāļ‡',
  'āļ™āđˆāļēāļĢāļąāļ',
  'āđ€āļ—āđˆ',
  'āļšāļ­āļĨāļĨāļđāļ™āļ‚āđ‰āļ­āļ„āļ§āļēāļĄ',
  'āļŠāļ§āļĒāđ€āļĢāļīāđˆāļ”',
  'āļ­āļšāļ­āļļāđˆāļ™',
  'āđāļ›āļĨāļ',
  'āļ āļēāļĐāļēāļŠāļļāļ āļēāļž'],
  'character': ['āļŦāļĄāļĩ',
  'āļŠāļ·āđˆāļ­',
  'āļŠāļļāļ™āļąāļ‚',
  'āļŦāļāļīāļ‡',
  'āļ™āļ',
  'āļ­āļēāļŦāļēāļĢ',
  'āđāļĄāļ§',
  'āļ„āļĢāļ­āļšāļ„āļĢāļąāļ§, āļ„āļđāđˆāļĢāļąāļ',
  'āđāļĄāļ§āļ™āđ‰āļģ',
  'āđāļžāļ™āļ”āđ‰āļē',
  'āļāļĢāļ°āļ•āđˆāļēāļĒ',
  'āļ­āļ·āđˆāļ™āđ†',
  'āļŠāļēāļĒ'],
  'total': 245513,
  'count': {'āļ—āļąāļāļ—āļēāļĒ': 28692,
  'āđāļžāļ™āļ”āđ‰āļē': 6525,
  'āļ™āļ': 14179,
  'āļŠāļļāļ™āļąāļ‚': 20362,
  'āļāļĢāļ°āļ•āđˆāļēāļĒ': 16865,
  'āļŦāļĄāļĩ': 14256,
  'āļ­āļēāļŦāļēāļĢ': 17295,
  'āļ­āļ·āđˆāļ™āđ†': 31848,
  'āļ„āļĢāļ­āļšāļ„āļĢāļąāļ§, āļ„āļđāđˆāļĢāļąāļ': 23555,
  'āļŦāļāļīāļ‡': 24756,
  'āđāļĄāļ§āļ™āđ‰āļģ': 1868,
  'āđāļĄāļ§': 18781,
  'āļŠāļēāļĒ': 25202,
  'āļŠāļ·āđˆāļ­': 30021,
  'āļ™āđˆāļēāļĢāļąāļ': 59032,
  'āđ€āļ—āđˆ': 23624,
  'āđ€āļ—āļĻāļāļēāļĨ': 13552,
  'āļ•āļĨāļ': 47172,
  'āļ­āļšāļ­āļļāđˆāļ™': 57357,
  'āļŠāļ§āļĒāđ€āļĢāļīāđˆāļ”': 16084}}]

The data is divided into 4 folders

data # from line en creator store
data-th # from line th creator store
dataofficial # from line en official store
dataofficial-th # from line th official store

Stickers from the official store is divided into categories. Stickers from the creator store is divided into tastes and characters. There is a total count and a count per category, taste or character.

Use this command to download and extract stickers

linestickerdata.get_image_paths(folder="data", n=100000, num_workers=64)

You can specify folder, category, taste, character of the stickers you want to download. n is the number of stickers to download. You can also specify location where you want to file to be stored. This function returns paths to all the sticker images that has been downloaded. num_workers specifies the number of workers that use to download the stickers.