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.2.0 Add animated memes and video downloads

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.2.0.tar.gz (7.2 kB view details)

Uploaded Source

File details

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

File metadata

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

File hashes

Hashes for biliemoji-1.2.0.tar.gz
Algorithm Hash digest
SHA256 33e1470faea7a0f27a27f64e8797e9e31d9b4340d0e05b6604a71f85858c3344
MD5 07775ae03d3ca2d9c13cf577d9a680d6
BLAKE2b-256 c352dac85c2b28a51a6129ea46ccf2633446c5fe5129a216418757f2789cb321

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