{"repo":"Xtr4F/PyCharacterAI","free":true,"listed":false,"github":"https://github.com/Xtr4F/PyCharacterAI","clone":"git clone https://github.com/Xtr4F/PyCharacterAI.git","description":"An unofficial Python api wrapper for character.ai","language":"Python","stars":95,"topics":["characterai","api-wrapper","python"],"license":"MIT","category":"api-integrations-sdks","readme_excerpt":"PyCharacterAI An asynchronous Python api wrapper for Character AI using curl-cffi. [!WARNING] This is an unofficial library made by an enthusiast who has no relation to the CharacterAI development team. CharacterAI has no official api and all breakpoints were found manually using reverse proxy. The author is not responsible for possible consequences of using this library. The library is under constant development, trying to match the functionality of the website. Anything that isn't described in the documentation may be changed or removed without backward compatibility! --- 📚 Documentation. --- TO-DO : - [x] Exceptions. - [ ] Logging? - [ ] Finish the docs. --- \\ If you have any questions, problems, suggestions, please open an issue or contact me: --- Getting started First, you need to install the library: --- \\ Import the Client class from the library and create a new instance of it: Then you need to authenticate client using token : if you want to be able to upload your avatar you also need to specify web next auth token as an additional argument (only this way for now, this may change in the future): \\ Or you can just call get client() method: After authentication, we can use all available library methods. --- About tokens and how to get them ⚠️ WARNING, DO NOT SHARE THESE TOKENS WITH ANYONE! Anyone with your tokens has full access to your account! This library uses two types of tokens: a common token and web next auth . The first one is required for almost all methods he","default_branch":null,"files":null,"tree":[],"storefront":"/r/Xtr4F","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/Xtr4F/PyCharacterAI/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}