## fruitbot
A simple, easy-to-use and powerful library for automating gameplay in the Fruit Craft game through APIs.
## Quick Example
```
from fruitbot import Client
from fruitbot.enums import CardPackTypes
bot = Client(session_name="fruit", restore_key="TOUR ACCOUNT RESTORE KEY")
data = bot.loadPlayer(save_session=True)
print(f"name: {data['name']}, amount of gold: {data['gold']}, id: {data['id']}")
print(bot.buyCardPack(CardPackTypes.BROWN_PACK))
```
Raw data
{
"_id": null,
"home_page": null,
"name": "fruitbot",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.7",
"maintainer_email": null,
"keywords": "fruit, craft, fruitcraft, fruitbot, bot, api, client, automating, card, game",
"author": "Amir S.Farahani",
"author_email": null,
"download_url": "https://files.pythonhosted.org/packages/ed/34/c1750a7fea154991a7375eae817435c8cf517d4bdad2050d8fba9c2a5a98/fruitbot-1.0.0.tar.gz",
"platform": null,
"description": "## fruitbot\r\nA simple, easy-to-use and powerful library for automating gameplay in the Fruit Craft game through APIs.\r\n\r\n\r\n## Quick Example\r\n\r\n```\r\nfrom fruitbot import Client\r\nfrom fruitbot.enums import CardPackTypes\r\n\r\nbot = Client(session_name=\"fruit\", restore_key=\"TOUR ACCOUNT RESTORE KEY\")\r\n\r\ndata = bot.loadPlayer(save_session=True)\r\nprint(f\"name: {data['name']}, amount of gold: {data['gold']}, id: {data['id']}\")\r\nprint(bot.buyCardPack(CardPackTypes.BROWN_PACK))\r\n```\r\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "A simple, easy-to-use and powerful library for automating gameplay in the Fruit Craft game through APIs.",
"version": "1.0.0",
"project_urls": null,
"split_keywords": [
"fruit",
" craft",
" fruitcraft",
" fruitbot",
" bot",
" api",
" client",
" automating",
" card",
" game"
],
"urls": [
{
"comment_text": null,
"digests": {
"blake2b_256": "e425816e22b7c395493aab723f5ce0ecfcdc5bda340c2b0ea54f382339fc8ea7",
"md5": "5754ebebacede838b43e8e585b0ea74d",
"sha256": "8cb60a2d3b38e05dccfa7e77124cc3685e13cd2d5e73c481af23024bc586bc1a"
},
"downloads": -1,
"filename": "fruitbot-1.0.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "5754ebebacede838b43e8e585b0ea74d",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.7",
"size": 22996,
"upload_time": "2025-02-15T00:24:31",
"upload_time_iso_8601": "2025-02-15T00:24:31.190452Z",
"url": "https://files.pythonhosted.org/packages/e4/25/816e22b7c395493aab723f5ce0ecfcdc5bda340c2b0ea54f382339fc8ea7/fruitbot-1.0.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "ed34c1750a7fea154991a7375eae817435c8cf517d4bdad2050d8fba9c2a5a98",
"md5": "aa58c3931297f3f699ff18e111cce1ca",
"sha256": "7b70049234f077e83ae064ec69b72bc82c90941a5445dbdfbc47a23f2176a140"
},
"downloads": -1,
"filename": "fruitbot-1.0.0.tar.gz",
"has_sig": false,
"md5_digest": "aa58c3931297f3f699ff18e111cce1ca",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.7",
"size": 20933,
"upload_time": "2025-02-15T00:24:33",
"upload_time_iso_8601": "2025-02-15T00:24:33.288635Z",
"url": "https://files.pythonhosted.org/packages/ed/34/c1750a7fea154991a7375eae817435c8cf517d4bdad2050d8fba9c2a5a98/fruitbot-1.0.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-02-15 00:24:33",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "fruitbot"
}