📁
randomstuff.py
  • randomstuff.py
  • Clients
    • Client
    • AsyncClient
  • Data Classes
    • AIResponse
    • Joke
    • JokeFlags
    • Waifu
    • Weather
    • WeatherLocation
    • CurrentWeather
    • WeatherForecast
  • Sub modules
    • utils
  • Errors tree
    • Forbidden
      • BadAPIKey
      • PlanNotAllowed
    • ArgumentError
      • InvalidPlanError
      • InvalidVersionError
      • InvalidServerError
      • InvalidType
      • InvalidCityError
    • HTTPError
  • Brief
    • Warnings
    • Lists
    • Unique ID
    • Joke 101
    • FAQ
    • Changelogs
Powered by GitBook
On this page
  • Why am I getting AuthError?
  • How plans work?
  • Why Joke is an object, and why not string or dictionary?
  • What is AsyncClient?
  • What is async and sync?
  • Why are version 3 and version 4, AI response parameters different?

Was this helpful?

  1. Brief

FAQ

PreviousJoke 101NextChangelogs

Last updated 3 years ago

Was this helpful?

Why am I getting ?

You need API key to get access to API and use the wrapper. Get one from . If you have the API key in your code but it is showing this error, Make sure API key is exact as the one you got.

How plans work?

See the on this.

Why Joke is an object, and why not string or dictionary?

To ease the user, Objects are relatively easy to understand and use then a raw dictionary. See and page for more info.

What is ?

An async version of the

What is async and sync?

Async is basically used when concurrency is your focus. Sync is also known as blocking which means only one function will run at one point. You'll have to wait for a function to finish before you continue to next one whereas in async, they work concurrently. .

Why are version 3 and version 4, AI response parameters different?

Because that is how it is provided or suggested by API.

AuthError
here
official doc
Joke
Joke 101
AsyncClient
Client
Read more