Naegin
Naegin é uma API Wrapper para o site naeg.in.
A API tem o objetivo de fornecer Imagens para desenvolvedores de bots fazerem uso das mesmas em seus respectivos projetos.
Você precisa de um token para fazer uso desse serviço. Entre no Discord do site para requisitar um.
Instalação
Através do pip, você pode facilmente instalar a Wrapper, basta digitar ``pip install naegin`` no terminal.
Certifique-se de estar usando o Python 3.6+.
Uso
import naegin
#Cria uma instância para ser usada
naegin = naegin.Client('token')
#Pegar todas as tags disponíveis em uma list
async def tags():
tags = await naegin.get_all_tags()
print(tags)
#Pegar a URL de uma Imagem aleatória, com uma Tag especifica
async def random(tag):
image = await naegin.get_random(tag)
print(image.url)
Metadata
Release files for naegin 1.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| naegin-1.0.3.tar.gz | 2.8 kB | Without provenance | Details for naegin-1.0.3.tar.gz |
Release files / naegin-1.0.3.tar.gz
| Download URL | naegin-1.0.3.tar.gz |
|---|---|
| Size | 2.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b62fb5b483beaf2211590d892339d2938ba88001b832d3e42315e651504bfc81
|
|
BLAKE2b-256 checksum How to use checksums |
50b9124c10eb3da08a5f2f2fbb2079caca18c23847e096ecaecaa5fb758da37d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.29.0 CPython/3.7.1
|
Security for naegin 1.0.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.