Skip to main content

A Python Package that enables you to fetch data from Truth or Dare API

Project description

<br />

<p>

	<a href="https://github.com/iamd4rk/truthordare.py"><img src="https://i.imgur.com/IOdIA3y.png" width="600" alt="truthordare.py" /></a>

</p>

<br />	

📝 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.6.tar.gz (4.1 kB view details)

Uploaded Source

Built Distribution

truthordare.py-0.0.6-py3-none-any.whl (4.1 kB view details)

Uploaded Python 3

File details

Details for the file truthordare.py-0.0.6.tar.gz.

File metadata

  • Download URL: truthordare.py-0.0.6.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

Hashes for truthordare.py-0.0.6.tar.gz
Algorithm Hash digest
SHA256 aba82a3d6d48d5cba913604207b62254ac70cbb054a1b0c3100f4620c3b473ed
MD5 c94dcdc9a64a9e46a864e244d3f3ea55
BLAKE2b-256 19a42a4789f43eb70658e6b43823c63416ee16a2877fa88eddd8e8002b6ebe1d

See more details on using hashes here.

File details

Details for the file truthordare.py-0.0.6-py3-none-any.whl.

File metadata

File hashes

Hashes for truthordare.py-0.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 7bfb0a466b71468e1f45d8d1510c6922bb5e291630c378fa3f1b03004a1ba98d
MD5 b87071cc5b96df0bbacea57909b11748
BLAKE2b-256 ee4ae86c764b804166fae6ff27979505fe350ec7fa351ceaf5cd26364afe583b

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page