{"id":15165996,"url":"https://github.com/turingai-team/turing-library","last_synced_at":"2025-09-30T21:30:46.109Z","repository":{"id":187268359,"uuid":"667852173","full_name":"TuringAI-Team/turing-library","owner":"TuringAI-Team","description":"A collection of libraries for different languages to interact with TuringAPI","archived":true,"fork":false,"pushed_at":"2024-03-02T14:42:59.000Z","size":45,"stargazers_count":2,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"typescript","last_synced_at":"2024-09-27T04:21:57.100Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://docs.turing.sh","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/TuringAI-Team.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2023-07-18T12:54:10.000Z","updated_at":"2024-04-24T20:10:16.000Z","dependencies_parsed_at":"2024-08-14T09:06:49.634Z","dependency_job_id":"95152959-71d5-4c73-9172-58c7d1eb815a","html_url":"https://github.com/TuringAI-Team/turing-library","commit_stats":{"total_commits":21,"total_committers":3,"mean_commits":7.0,"dds":0.1428571428571429,"last_synced_commit":"8455137b7e2cd90dca652a8ca97107900240dbf0"},"previous_names":["turingai-team/turing-library"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TuringAI-Team%2Fturing-library","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TuringAI-Team%2Fturing-library/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TuringAI-Team%2Fturing-library/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TuringAI-Team%2Fturing-library/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TuringAI-Team","download_url":"https://codeload.github.com/TuringAI-Team/turing-library/tar.gz/refs/heads/typescript","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":219874957,"owners_count":16554632,"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":[],"created_at":"2024-09-27T04:22:04.572Z","updated_at":"2025-09-30T21:30:45.723Z","avatar_url":"https://github.com/TuringAI-Team.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# turing.sh\n\n![Discord](https://img.shields.io/discord/899761438996963349)\n![npm](https://img.shields.io/npm/dt/turing.sh)\n![npm bundle size](https://img.shields.io/bundlephobia/min/turing.sh)\n\nThe official library to interact with TuringAPI using javascript or typescript.\n\nCheck our docs at [docs.turing.sh](https://docs.turing.sh)\n\n# How to get an API key\n\nGo to our [discord server](https://discord.gg/turing), then go to the [applications channel](https://discord.com/channels/899761438996963349/1129712544580374571) where you can apply for an API key. Please take the applications seriously, we will not accept applications that are not serious.\n\n## Installation\n\n```bash\nnpm install turing.sh\n```\n\n## Usage\n\n```typescript\nimport { Text, Image, Audio } from \"turing.sh\";\n\nconst text = new Text({\n  apiKey: \"YOUR_API_KEY\",\n  captchaKey: \"YOUR_CAPTCHA_KEY\",\n});\n\nconst gptAnswer = await text.gpt({\n  messages: [\n    {\n      role: \"user\",\n      content: \"Hello, how are you?\",\n    },\n  ],\n});\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fturingai-team%2Fturing-library","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fturingai-team%2Fturing-library","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fturingai-team%2Fturing-library/lists"}