Skip to main content

Listcord.py

An official wrapper for the listcord api!

View https://listcord.xyz/apidocs to view the raw api documentation!

Installation

pip install listcord.py

Getting started

Get your api token from https://listcord.xyz/me. The Listcord api is currently only available only for those who have bots registered in our botlist! After getting your token, make sure your token is kept somewhere secret!

import listcord

client = listcord.Client("Replace this with your token!")
print(client.get_bot('some bot id'))

This package also supports asynchronous fetching too!

import listcord
import asyncio

client = listcord.Client("Replace this with your token!")

@asyncio.coroutine
def main():
    bot = yield from client.get_bot_async('some bot id')
    print(bot)

loop = asyncio.get_event_loop()
loop.run_until_complete(main())

Methods

There are only some methods with the asynchronous ones too!

client.get_bot('801976787264471120') # Returns the information of the bot!
await client.get_bot_async('801976787264471120') # Returns the information of the bot asynchronously!

client.get_bot_reviews('801976787264471120'); # Returns the array of reviews of the bot!
await client.get_bot_reviews_async('801976787264471120'); # Returns the array of reviews of the bot asynchronously!

client.get_review('user id', 'bot id'); # Returns the review details by the discord id of the reviewer and the bot which was reviewed!
await client.get_review_async('user id', 'bot id'); # Returns the review details by the discord id of the reviewer and the bot which was reviewed asynchronously!

client.has_voted('user id', 'bot id'); # Verify if the particular user has voted a paticular bot by id!
await client.has_voted_async('user id', 'bot id'); # Verify if the particular user has voted a paticular bot by id asynchronously!

client.search('shaz'); # Returns the array of the bots which matches your query!
await client.search_async('shaz'); # Returns the array of the bots which matches your query aynchronously!

Contact

Metadata

Release files for listcord.py 1.5.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for listcord.py 1.5.0
File Size Uploaded Provenance Actions
listcord.py-1.5.0.tar.gz 2.4 kB Without provenance Details for listcord.py-1.5.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for listcord.py 1.5.0
File Interpreter ABI Platform Actions
listcord.py-1.5.0-py3-none-any.whl Python 3 none any Details for listcord.py-1.5.0-py3-none-any.whl

Total release size: 5.0 kB

Release files / listcord.py-1.5.0.tar.gz

Download URL listcord.py-1.5.0.tar.gz
Size 2.4 kB
Tags Source
SHA-256 checksum
How to use checksums
4d2dcdfe9f4f7aa20632ef11ec65f699ea8760498f352c73cb31ec1785f4e948
BLAKE2b-256 checksum
How to use checksums
6e3f4915ee918ba226008c3bd2a7e6ae27a630bb239e078c5b7313786a48a4ba
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/39.0.1 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.6.7

Release files / listcord.py-1.5.0-py3-none-any.whl

Download URL listcord.py-1.5.0-py3-none-any.whl
Size 2.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5ff419c7f3f46d3364e6b37c01400a0237bf28d9134759e38889be2e1061f513
BLAKE2b-256 checksum
How to use checksums
cb842c2b925d155ca8abda26e5269d4669681e672065afd1e1cfd373645a63ac
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/39.0.1 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.6.7

Security for listcord.py 1.5.0

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.

Release history Release notifications | RSS feed

This release

1.5.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page