FAQ

Why am I getting AuthError?

You need API key to get access to API and use the wrapper. Get one from here. 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 official doc 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 Joke and Joke 101 page for more info.

What is AsyncClient?

An async version of the Client

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. Read more.

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

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

Last updated