{"id":23050721,"url":"https://github.com/programminglaboratorys/nin0lib","last_synced_at":"2025-04-03T03:42:26.490Z","repository":{"id":258331374,"uuid":"873739832","full_name":"programminglaboratorys/nin0lib","owner":"programminglaboratorys","description":"python nin0chat API wrapper","archived":false,"fork":false,"pushed_at":"2024-10-23T06:19:23.000Z","size":58,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-08T17:44:35.658Z","etag":null,"topics":["api","nin0chat","python","websocket"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/programminglaboratorys.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.txt","contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-10-16T16:29:23.000Z","updated_at":"2024-12-21T14:09:50.000Z","dependencies_parsed_at":"2025-02-08T17:42:56.672Z","dependency_job_id":"91400367-6eba-46e6-8ef7-ae0f95328cd0","html_url":"https://github.com/programminglaboratorys/nin0lib","commit_stats":null,"previous_names":["programminglaboratorys/nin0lib"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/programminglaboratorys%2Fnin0lib","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/programminglaboratorys%2Fnin0lib/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/programminglaboratorys%2Fnin0lib/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/programminglaboratorys%2Fnin0lib/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/programminglaboratorys","download_url":"https://codeload.github.com/programminglaboratorys/nin0lib/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246933355,"owners_count":20857052,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["api","nin0chat","python","websocket"],"created_at":"2024-12-15T23:36:19.437Z","updated_at":"2025-04-03T03:42:26.467Z","avatar_url":"https://github.com/programminglaboratorys.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# commandkit\n\neasy tool to parse string to commands and an easy tool to create commandlines\n\n# nin0lib\n\ncreate nin0chat bots with python!\nsimple and easy to setup library for https://chat.nin0.dev/\n\n## install\n\n```cmd\npip install .\n```\n\n## example\n\n```py\nfrom nin0lib.bot import Bot, Context\n\nbot = Bot(prefix=\"c.\")\n\n@bot.event\nasync def on_ready():\n    print(\"logged in as\", bot.username) # logged in as coolBot\n\n@bot.command(aliases=[\"hi\", \"hello\", \"hola\"])\nasync def hello(ctx: Context):\n    await ctx.send(f\"Hello, I'm {bot.username}!\")\n\n@bot.command()\nasync def sum(ctx: Context, n1: int, n2: int):\n    await ctx.send(f\"The sum of {n1} and {n2} is {n1+n2}\")\n\nbot.run(\"token\")\n```\n\n\u003e [!NOTE]\n\u003e replace token with your bot token!\n\ncheck the docs at [nin0.docs](https://github.com/programminglaboratorys/nin0lib/blob/main/nin0lib.docs/README.md)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprogramminglaboratorys%2Fnin0lib","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fprogramminglaboratorys%2Fnin0lib","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprogramminglaboratorys%2Fnin0lib/lists"}