Metadata-Version: 2.1
Name: truthordare.py
Version: 0.0.5
Summary: A Python Package that enables you to fetch data from Truth or Dare API
Author: d4rkpoison
Author-email: ashutoshdas2004@gmail.com
Keywords: python,truth,dare,truthordare
Classifier: Development Status :: 1 - Planning
Classifier: License :: OSI Approved :: MIT License
Classifier: Intended Audience :: Developers
Classifier: Natural Language :: English
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Topic :: Internet
Classifier: Topic :: Software Development :: Libraries
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Topic :: Utilities
Description-Content-Type: text/markdown
License-File: LICENSE


# 📝 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**



```sh-session

# Windows

py -3 -m pip install truthordare.py





# Linux/macOS

python3 -m pip install truthordare.py

```



# 🔃 Import



```py

import truthordare

```



## ✅ Commands



> You can use the following Funtions :- truth() | dare() | paranoia() | wyr() | nhie()



### 👼 **Example**



```py

import truthordare



print(truthordare.truth())

print(truthordare.dare())

print(truthordare.nhie())

print(truthordare.wyr())

print(truthordare.paranoia())

```



### 🔎 With rating parameter



```py

import truthordare



print(truthordare.truth("PG"))

```



> Valid Paramaters are: - "PG" , "PG13" , "R"



## ☑️ Output Log (Example)



```sh

{'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?'}}

```

