A Python Package that enables you to fetch data from Truth or Dare API
Project description
.. image:: https://i.imgur.com/IOdIA3y.png :target: https://github.com/iamd4rk/truthordare.py :alt: "truthordare.py"
Info
An easy to use Truth or Dare API <https://docs.truthordarebot.xyz/api-docs>
__ wrapper written in
Python <https://www.python.org/>
__.
Main Features
- Very easy to use
- Covers entire API
Installation
Python v3.8 or above is recommended
.. code:: sh
Windows
py -3 -m pip install truthordare.py
Linux/macOS
python3 -m pip install truthordare.py
Import
.. code:: py
import truthordare
Commands
You can use the following Funtions :- truth() , dare() , paranoia() , wyr() , nhie()
Example
.. code:: py
import truthordare
print(truthordare.truth())
print(truthordare.dare())
print(truthordare.nhie())
print(truthordare.wyr())
print(truthordare.paranoia())
With rating parameter
..
Valid Paramaters are: - "PG" , "PG13" , "R"
.. code:: py
import truthordare
print(truthordare.truth("PG"))
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
Built Distribution
File details
Details for the file truthordare.py-0.0.2.tar.gz
.
File metadata
- Download URL: truthordare.py-0.0.2.tar.gz
- Upload date:
- Size: 4.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.11.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ea23389a57480e42486b89cfb5bc2d5c6faf0430bce1b3bb09627748ec0c617b |
|
MD5 | d110e5a0e555a891cbd0d8249a2bd4cb |
|
BLAKE2b-256 | 652d1ad4c6374018dc1d5e26043f5a273dd15ca56d4f634b31a3973e3f2e50a4 |
File details
Details for the file truthordare.py-0.0.2-py3-none-any.whl
.
File metadata
- Download URL: truthordare.py-0.0.2-py3-none-any.whl
- Upload date:
- Size: 3.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.11.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d6d69c1c9c496fe2ee380ae504e5e90289aa8a466374c21ca0c23c396d6e9596 |
|
MD5 | aeab6808a689e5726444744460f5ec99 |
|
BLAKE2b-256 | a2d005f43202e893c3cc5cd2c5027664b1a914e34ea3ea3cea6b980c4c7f79a4 |