Skip to main content

A simple Python library for accessing bilibili emojis and dresses.

Project description

BiEmoji

A simple Python library for accessing bilibili memes and dress-ups.

All APIs come from GitHub, and the APIs will become invalid with official updates.

If it fails, stop using it and wait for a later update.

Installation

pip install biliemoji

Usage

This package is divided into two parts:

  1. Emoji part

    from biliemoji.emoji import Emoji
    
    
    
    # Create a Emoji object
    
    e = Emoji()
    
    # Use IDS to obtain emoji information
    
    res = e.certain_emoji(ids=53)
    
    # Returns a JSON object
    
    print(res)
    
  2. Dress part

    from biliemoji.dress import Dress
    
    
    
    # Create a Dress object
    
    d = Dress()
    
    # Search by keyword and temporarily the first piece of data
    
    res = d.search_dress(1,keyword="2233")
    
    # Returns a JSON object
    
    print(res)
    

For more information, please refer to GitHub

GetHelp

Please to see github to understand the code structure, and if it is indeed a bug, please submit an issue

Update log

1.1.0 Fixed an issue with image titles caused by incorrect paths in dress downloads, the separation save_json is divided into two parts: auto and simple

1.0.1 Fix the README description error

1.0,0 first release

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

biliemoji-1.1.0.tar.gz (6.3 kB view details)

Uploaded Source

File details

Details for the file biliemoji-1.1.0.tar.gz.

File metadata

  • Download URL: biliemoji-1.1.0.tar.gz
  • Upload date:
  • Size: 6.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.11.10

File hashes

Hashes for biliemoji-1.1.0.tar.gz
Algorithm Hash digest
SHA256 258a26e61ef0c71e40b57c8ae3b1ac13dbc663e8e922c2c46bbc2daf6521277e
MD5 749e2bfcb90cfddda297af132d5db4eb
BLAKE2b-256 c6959de837b07b34b6fe72eed91e4ef99f9ff488fce339d43ee0c08ea1142b5c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page