A Python Package that enables you to fetch data from Truth or Dare API
Project description
📝 Info
An easy to use Truth or Dare API wrapper written in Python.
💫 Main Features
-
Very easy to use
-
Covers entire API
⬇️ Installation
Python v3.8 or above is recommended
# Windows
py -3 -m pip install truthordare.py
# Linux/macOS
python3 -m pip install truthordare.py
🔃 Import
import truthordare
✅ Commands
You can use the following Funtions :- truth() | dare() | paranoia() | wyr() | nhie()
👼 Example
import truthordare
print(truthordare.truth())
print(truthordare.dare())
print(truthordare.nhie())
print(truthordare.wyr())
print(truthordare.paranoia())
🔎 With rating parameter
import truthordare
print(truthordare.truth("PG"))
Valid Paramaters are: - "PG" , "PG13" , "R"
☑️ Output Log (Example)
{'id': 'ku9abgpkwrf4', 'type': 'PARANOIA', 'rating': 'PG', 'question': "Who's most likely to enjoy reading over watching movies?", 'translations': {'bn': 'কার সিনেমা দেখার চেয়ে বেশি পড়তে ভালো লাগে?', 'de': 'Wer liest am ehest ten, anstatt sich Filme anzusehen?', 'es': '¿Quién es más probable que disfrute leyendo en lugar de ver películas?', 'fr': "Qui est le plus susceptible d'apprécier la lecture plutôt que de regarder des films\xa0?", 'hi': 'फिल्मेें देखने के बजाय पढ़ने का आनंद लेने की सबसे अधिक संभावना किसे है?', 'tl': 'Sino ang mas malamang na mag-enjoy sa pagbabasa sa panonood ng mga pelikula?'}}
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
truthordare.py-0.0.7.tar.gz
(4.1 kB
view details)
Built Distribution
File details
Details for the file truthordare.py-0.0.7.tar.gz
.
File metadata
- Download URL: truthordare.py-0.0.7.tar.gz
- Upload date:
- Size: 4.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.11.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b98a9921323f0eeb3f442a425cbe26d28d4ec13198bf54dc705c5abab82a8ad9 |
|
MD5 | 7e1a4c263f0bd36d022168e754910bf5 |
|
BLAKE2b-256 | cc296d3fe062945b3195ea3ce0d3b54a6f767b41d32bc01ea45719215be81f36 |
File details
Details for the file truthordare.py-0.0.7-py3-none-any.whl
.
File metadata
- Download URL: truthordare.py-0.0.7-py3-none-any.whl
- Upload date:
- Size: 4.0 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 | e880307f367edaf6ae61b471331b55c344ab99967e0885999d8f397abe07abc5 |
|
MD5 | 0281d964844fd909e6ff23dd7c693243 |
|
BLAKE2b-256 | 5bd4768b821ec1ee9cc31eeb0db0a51884df2d45fbcfe0f8a34156cbcbf9898f |