snowflakeapi package¶
snowflake module¶
- class snowflakeapi.snowflakeapi.SnowClient(api_key)¶
Bases:
object- async my_info() dict¶
Returns the api user’s info
- Returns
Dictionary containing user info
- Return type
- async chat_bot(message: str, name='Bot', gender='male', user='You') dict¶
AI Chatbot
- Parameters
- Returns
Dictionary containing bot’s response
- Return type
- async fake_discord_token() dict¶
Fake discord bot token generator
- Returns
Dictionary containing fake discord bot token
- Return type
- async api_stats() dict¶
Get api server stats.
- Returns
Dictionary containing api server stats
- Return type
- async ytsearch(search_query: str, limit: int = 20, safesearch: bool = True, search_type: Optional[str] = None) dict¶
YouTube search
- Parameters
- Returns
Dictionary containing info about Search Query from YouTube
- Return type
- async cat() _io.BytesIO¶
Returns random cat image.
- Returns
Returns a BytesIO object containing image of a cat
- Return type
BytesIO
- async dog() _io.BytesIO¶
Returns random dog image.
- Returns
Returns a BytesIO object containing image of a dog
- Return type
BytesIO
- async duck() _io.BytesIO¶
Returns random duck image.
- Returns
Returns a BytesIO object containing image of a duck
- Return type
BytesIO
- async fox() _io.BytesIO¶
Returns random fox image.
- Returns
Returns a BytesIO object containing image of a fox
- Return type
BytesIO