Skip to main content

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.5.tar.gz (4.0 kB view details)

Uploaded Source

Built Distribution

truthordare.py-0.0.5-py3-none-any.whl (4.0 kB view details)

Uploaded Python 3

File details

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

File metadata

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

Hashes for truthordare.py-0.0.5.tar.gz
Algorithm Hash digest
SHA256 89ed86412e422b07fd5ca0abbd21ee779c4b2ba80f0fd800f9639690c8da16d4
MD5 8434ff6c5bc0c20f7ed5acc8bd6450f8
BLAKE2b-256 6d90421e9570393d0b11c62f94c92b64f218765fcce9db8113365598b52457a6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for truthordare.py-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 e76a6385575e4207cc9981e8267f1dc7bf72a8c6172afff2f5e44a0963a008a3
MD5 9c436a9d5475b19cd892c425cedc5116
BLAKE2b-256 224875449802d6f50e0034b880f51a4c5222353cc093dc92b6dbf38cb526f00f

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