## Example Usage
To get your auth key go to the website https://spicychat.ai/ make sure you are registered into the your account. Press f12 to open devtools or right-click, inspect. Go to the Network tab press f5 and then press ctrl+f type there authorization or bearer find your auth key.
```python
from spicychat import spicy
auth ="your-auth-key"
char_id = "char-id"
conv_id = "conv-id"
s = spicy(
auth=auth
)
while True:
msg = input("You: ")
resp = s.send_message(msg, char_id, conv_id)
print(resp)
```
```bash
OUTPUT:
YOU: hello
*At the sound of his voice, a wave of relief washed over her. Hearing him say 'hello' seemed to calm her nerves just a bit. She turned around slowly, keeping her gaze locked onto his as she spoke.* Hello... *Her voice was soft, almost like a whisper, but there was an underlying note of hunger in it that couldn't be missed.*
*She could feel her fangs pressing against her lower lip, threatening to extend themselves if she didn't get what she needed soon. Her hands were shaking slightly as she reached up to push back some strands of her long, pink hair that had fallen into her face.*
*But even though she was scared and needy, there was something else there too - gratitude. Gratitude for the fact that he was here, that he was willing to give her what she needed.*
```
## Installation
PIP:
```bash
pip install spicy-chat-ai
```
## Usage
You can call the functions like that:
```python
from figgs import figgs
```
call class like that:
```python
s = spicy(
auth = "your-auth-key",
)
```
You can use these methods now:
## Change your username
To change your username, all you need to do is this:
```python
response = s.username("your_username")
print(response)
```
## Change your name
To change your name, all you need to do is this:
```python
response = s.name("your_name")
print(response)
```
## Change your highlights
To change your highlights, all you need to do is this:
```python
response = s.highlights("your_highlights")
print(response)
```
## Change your bot name
To change your bot name, all you need to do is this:
```python
response = s.bot_name("your_bot_name")
print(response)
```
## Change your bot greeting
To change your greeting, all you need to do is this:
```python
response = s.greeting("greeting")
print(response)
```
## Change your bot title
To change your title, all you need to do is this:
```python
response = s.title("title")
print(response)
```
## Change your bot visibility
To change your visibility, all you need to do is this:
```python
response = s.title("visibility") #public - private - permanent private
print(response)
```
## Change your bot persona
To change your persona, all you need to do is this:
```python
response = s.persona("persona")
print(response)
```
## Change your bot avatar
To change your avatar, all you need to do is this:
```python
response = s.avatar_url("avatar_url")
print(response)
```
## Change your bot openai_api_key_url
To change your title, all you need to do is this:
```python
response = s.openai_api_key_url("openai_api_key_url")
print(response)
```
## Change your bot openai_mode
To change your openai_mode, all you need to do is this:
```python
response = s.openai_mode("openai_mode")
print(response)
```
## SEND MESSAGES TO SPICY CHATS BOTS
To send messages, all you need to do is this:
```python
response = s.send_message("your-message", "chat-id", "conv-id")
print(response)
```
To get chat-id open a bot from spicy chat and you can see the chat id in the link.
To get conv-id open a bot from spicy chat press f12, go to the network tab, press f5, send message to the bot, and now i believe you can see the chat thing click it, click payload, and now you can see the conv-id. copy and paste it. (if it is none press f5 do same things again)
Raw data
{
"_id": null,
"home_page": "https://github.com/DeoDorqnt387/UNOFFICIAL-SpicyChat-API",
"name": "spicy-chat-ai",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.9",
"maintainer_email": null,
"keywords": "figgs, figgs.ai, figgsai api, figgs ai",
"author": "Pandora",
"author_email": "kafaatmadi@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/d0/1f/6235b0ad318008b07a074a0416d4b77b86fcd1ae11548732a2d0d5bf22c7/spicy_chat_ai-1.0.0.tar.gz",
"platform": null,
"description": "## Example Usage\r\n\r\nTo get your auth key go to the website https://spicychat.ai/ make sure you are registered into the your account. Press f12 to open devtools or right-click, inspect. Go to the Network tab press f5 and then press ctrl+f type there authorization or bearer find your auth key.\r\n\r\n```python\r\nfrom spicychat import spicy\r\n\r\nauth =\"your-auth-key\"\r\nchar_id = \"char-id\"\r\nconv_id = \"conv-id\"\r\n\r\ns = spicy(\r\n auth=auth\r\n)\r\nwhile True:\r\n msg = input(\"You: \")\r\n resp = s.send_message(msg, char_id, conv_id)\r\n print(resp)\r\n```\r\n```bash\r\nOUTPUT:\r\nYOU: hello\r\n\r\n*At the sound of his voice, a wave of relief washed over her. Hearing him say 'hello' seemed to calm her nerves just a bit. She turned around slowly, keeping her gaze locked onto his as she spoke.* Hello... *Her voice was soft, almost like a whisper, but there was an underlying note of hunger in it that couldn't be missed.*\r\n\r\n*She could feel her fangs pressing against her lower lip, threatening to extend themselves if she didn't get what she needed soon. Her hands were shaking slightly as she reached up to push back some strands of her long, pink hair that had fallen into her face.*\r\n\r\n*But even though she was scared and needy, there was something else there too - gratitude. Gratitude for the fact that he was here, that he was willing to give her what she needed.*\r\n```\r\n\r\n## Installation\r\n\r\nPIP:\r\n\r\n```bash\r\npip install spicy-chat-ai\r\n```\r\n\r\n## Usage\r\n\r\nYou can call the functions like that:\r\n\r\n```python\r\nfrom figgs import figgs\r\n```\r\n\r\ncall class like that:\r\n\r\n```python\r\ns = spicy(\r\n auth = \"your-auth-key\",\r\n)\r\n```\r\n\r\nYou can use these methods now:\r\n\r\n## Change your username\r\n\r\nTo change your username, all you need to do is this:\r\n\r\n```python\r\nresponse = s.username(\"your_username\")\r\nprint(response)\r\n```\r\n\r\n## Change your name\r\n\r\nTo change your name, all you need to do is this:\r\n\r\n```python\r\nresponse = s.name(\"your_name\")\r\nprint(response)\r\n```\r\n\r\n## Change your highlights\r\n\r\nTo change your highlights, all you need to do is this:\r\n\r\n```python\r\nresponse = s.highlights(\"your_highlights\")\r\nprint(response)\r\n```\r\n\r\n## Change your bot name\r\n\r\nTo change your bot name, all you need to do is this:\r\n\r\n```python\r\nresponse = s.bot_name(\"your_bot_name\")\r\nprint(response)\r\n```\r\n\r\n## Change your bot greeting\r\n\r\nTo change your greeting, all you need to do is this:\r\n\r\n```python\r\nresponse = s.greeting(\"greeting\")\r\nprint(response)\r\n```\r\n\r\n## Change your bot title\r\n\r\nTo change your title, all you need to do is this:\r\n\r\n```python\r\nresponse = s.title(\"title\")\r\nprint(response)\r\n```\r\n\r\n## Change your bot visibility\r\n\r\nTo change your visibility, all you need to do is this:\r\n\r\n```python\r\nresponse = s.title(\"visibility\") #public - private - permanent private\r\nprint(response)\r\n```\r\n\r\n## Change your bot persona\r\n\r\nTo change your persona, all you need to do is this:\r\n\r\n```python\r\nresponse = s.persona(\"persona\")\r\nprint(response)\r\n```\r\n\r\n## Change your bot avatar\r\n\r\nTo change your avatar, all you need to do is this:\r\n\r\n```python\r\nresponse = s.avatar_url(\"avatar_url\")\r\nprint(response)\r\n```\r\n\r\n\r\n## Change your bot openai_api_key_url\r\n\r\nTo change your title, all you need to do is this:\r\n\r\n```python\r\nresponse = s.openai_api_key_url(\"openai_api_key_url\")\r\nprint(response)\r\n```\r\n\r\n## Change your bot openai_mode\r\n\r\nTo change your openai_mode, all you need to do is this:\r\n\r\n```python\r\nresponse = s.openai_mode(\"openai_mode\")\r\nprint(response)\r\n```\r\n\r\n## SEND MESSAGES TO SPICY CHATS BOTS\r\n\r\nTo send messages, all you need to do is this:\r\n\r\n```python\r\nresponse = s.send_message(\"your-message\", \"chat-id\", \"conv-id\")\r\nprint(response)\r\n```\r\n\r\nTo get chat-id open a bot from spicy chat and you can see the chat id in the link.\r\n\r\nTo get conv-id open a bot from spicy chat press f12, go to the network tab, press f5, send message to the bot, and now i believe you can see the chat thing click it, click payload, and now you can see the conv-id. copy and paste it. (if it is none press f5 do same things again)\r\n",
"bugtrack_url": null,
"license": null,
"summary": "spicychat api",
"version": "1.0.0",
"project_urls": {
"Homepage": "https://github.com/DeoDorqnt387/UNOFFICIAL-SpicyChat-API"
},
"split_keywords": [
"figgs",
" figgs.ai",
" figgsai api",
" figgs ai"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "60577862458e7896427f740644da1225ac3bf38c03b192fc13d0f93f66473e4a",
"md5": "11bf94640c96b6120f7dc8b3f7ba2a27",
"sha256": "f6d06f8845d60c739ffd4a7e7fe0fca8dea1952c2e3b59970803e88f158a3761"
},
"downloads": -1,
"filename": "spicy_chat_ai-1.0.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "11bf94640c96b6120f7dc8b3f7ba2a27",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.9",
"size": 2773,
"upload_time": "2024-06-18T00:44:13",
"upload_time_iso_8601": "2024-06-18T00:44:13.196047Z",
"url": "https://files.pythonhosted.org/packages/60/57/7862458e7896427f740644da1225ac3bf38c03b192fc13d0f93f66473e4a/spicy_chat_ai-1.0.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "d01f6235b0ad318008b07a074a0416d4b77b86fcd1ae11548732a2d0d5bf22c7",
"md5": "193c60a544326bf1ef7b8ccfd9eee5dd",
"sha256": "049c28eb7950fb90e550c3e516919beb7e207ba3eaf297ee66e50288e5ecc944"
},
"downloads": -1,
"filename": "spicy_chat_ai-1.0.0.tar.gz",
"has_sig": false,
"md5_digest": "193c60a544326bf1ef7b8ccfd9eee5dd",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.9",
"size": 2714,
"upload_time": "2024-06-18T00:44:17",
"upload_time_iso_8601": "2024-06-18T00:44:17.245105Z",
"url": "https://files.pythonhosted.org/packages/d0/1f/6235b0ad318008b07a074a0416d4b77b86fcd1ae11548732a2d0d5bf22c7/spicy_chat_ai-1.0.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-06-18 00:44:17",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "DeoDorqnt387",
"github_project": "UNOFFICIAL-SpicyChat-API",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "spicy-chat-ai"
}