📁
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
  • Attributes
  • message
  • response_time
  • success
  • api_key

Was this helpful?

  1. Data Classes

AIResponse

PreviousAsyncClientNextJoke

Last updated 3 years ago

Was this helpful?

Represents an AI response returned in method.

Attributes

Attributes

message

The main message or response returned.

Type:

response_time

The response time, This is usually normal however this can change if the API is having issues.

Type:

success

This attribute is None in version 4. This is only valid for version 3

Whether or not the response was retrieved success or not.

api_key

This attribute is None in version 4. This is only valid for version 3

The API key used to fetch the response.

Type:

Type:

bool
str
message
response_time
success
api_key
str
str
get_ai_response()