Dhravya / dhravyaAPI

2 stars 0 forks source link

A simple parameter #20

Closed PolyAnthi closed 2 years ago

PolyAnthi commented 2 years ago

As an example:

The 8ball code which currently returns {"success": 1, "data": {"answer": random.choice(answers)}}

If we added ?simple=true as a parameter on the end, it would return random.choice(answers)

PolyAnthi commented 2 years ago

Did this in PR (https://github.com/Dhravya/dhravyaAPI/pull/22)