{"id":23427310,"url":"https://github.com/atreyu4evr/teamdynamix","last_synced_at":"2025-10-22T10:48:36.531Z","repository":{"id":266794801,"uuid":"899365092","full_name":"Atreyu4EVR/TeamDynamix","owner":"Atreyu4EVR","description":"Unofficial Python SDK for TeamDynamix API integration. Features authentication handling, ticket management, and AI-powered test data generation. Built for educational and IT service management teams.","archived":false,"fork":false,"pushed_at":"2024-12-06T17:43:21.000Z","size":35,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-09T01:09:53.102Z","etag":null,"topics":["artificial-intelligence","itil","teamdynamix","ticketing-system"],"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/Atreyu4EVR.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","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":"2024-12-06T05:47:58.000Z","updated_at":"2024-12-06T17:43:25.000Z","dependencies_parsed_at":"2025-02-15T06:27:20.932Z","dependency_job_id":"64e5a841-4a52-4936-803b-bc788e9f57e0","html_url":"https://github.com/Atreyu4EVR/TeamDynamix","commit_stats":null,"previous_names":["atreyu4evr/teamdynamix"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Atreyu4EVR/TeamDynamix","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Atreyu4EVR%2FTeamDynamix","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Atreyu4EVR%2FTeamDynamix/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Atreyu4EVR%2FTeamDynamix/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Atreyu4EVR%2FTeamDynamix/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Atreyu4EVR","download_url":"https://codeload.github.com/Atreyu4EVR/TeamDynamix/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Atreyu4EVR%2FTeamDynamix/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":280424213,"owners_count":26328462,"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","status":"online","status_checked_at":"2025-10-22T02:00:06.515Z","response_time":63,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["artificial-intelligence","itil","teamdynamix","ticketing-system"],"created_at":"2024-12-23T06:19:43.681Z","updated_at":"2025-10-22T10:48:36.515Z","avatar_url":"https://github.com/Atreyu4EVR.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# TeamDynamix Python Library\n\nAn unofficial Python library for interacting with the [TeamDynamix REST APIs](https://solutions.teamdynamix.com/TDWebApi/), providing a simple and intuitive scripts for managing TeamDynamix resources.\n\nTeamDynamix is a powerful, enterprise-grade IT Service Management (ITSM) platform used by many respected educational and government organizations to manage ITIL-based operations and services. To learn more about TeamDynamix, visit [TeamDynamix.com](https://www.teamdynamix.com/).\n\n\u003e **Note**: This is an unofficial SDK and is not sanctioned or supported by TeamDynamix. Use at your own discretion and at your own risk.\n\n## Status\n\nThis project is currently under active development. While some core functionality is implemented, we're continuously working on expanding coverage to remaining TeamDynamix APIs.\n\n## Standard Client Patterns Implemented\n\nRobust Base Client Class\n\n```python\ntdx_client = TeamDynamix(\n    base_url=\"https://your-instance.teamdynamix.com\",\n    username=\"username\",\n    password=\"password\"\n)\n```\n\n- Single responsibility as HTTP client\n- Handles authentication and requests\n- Configurable through initialization\n\n## Features\n\n- Authentication handling with automatic token refresh\n- Rate limiting support\n- Comprehensive ticket management\n- Type hints for better IDE support\n- Dataclass-based models\n- AI-powered test ticket generation using OpenAI\n\n## Test Ticket Creation Tool\n\nThe `create_ticket.py` script provides an interactive way to generate test tickets with AI-generated content:\n\n### Features\n\n- Generates realistic ticket titles and descriptions using OpenAI\n- Allows selection of ticket status (New, Open, In Process, etc.)\n- Configurable through environment variables\n- Interactive prompt for creating multiple tickets\n\n### Setup\n\n1. Copy `.env.example` to `.env`\n2. Fill in your TeamDynamix credentials and API details\n3. Add your OpenAI API key if using AI-generated content\n\n### Usage\n\n```bash\npip install teamdynamix\n```\n\n## Usage\n\n```python\nfrom teamdynamix import TDClient\n\nclient = TeamDynamix(\n    base_url='https://your-instance.teamdynamix.com/TDWebApi',\n    username='username',\n    password='password'\n)\n```\n\n### Test Ticket Generation\n\nThe library includes a utility for generating test tickets with synthetic data using OpenAI. This can be useful for testing and development purposes:\n\n```python\nfrom teamdynamix.utils import TicketGenerator\n\ngenerator = TicketGenerator(client)\ntest_ticket = generator.create_test_ticket(category=\"Network Issues\")\n```\n\n### Or initialize with BEID/Web Services Key\n\n```python\nclient = TeamDynamix(\n    base_url=\"https://your-instance.teamdynamix.com\",\n    beid=\"your_beid\",\n    web_services_key=\"your_web_services_key\"\n)\n```\n\n## Creating a Ticket\n\n```python\nticket = client.tickets.create(\n    AppID=123,\n    TypeID=456,\n    Title=\"Test Ticket\",\n    AccountID=789,\n    StatusID=1,\n    PriorityID=1,\n    RequestorUid=\"user@example.com\",\n    Description=\"Test ticket description\"\n)\n```\n\n### Update ticket\n\n```python\nticket.update({\n    \"Comments\": \"New comment\",\n    \"NewStatus\": 2\n})\n```\n\n## Authentication\n\nThe library supports two authentication methods:\n\n1. Username/Password\n2. BEID/Web Services Key (Administrative access)\n\nEnvironment variables can be used for admin credentials:\n\n- `BEID`\n- `WEB_SERVICES_KEY`\n\n## Rate Limiting\n\nAll API methods are automatically rate-limited to comply with TeamDynamix API restrictions. The default limits are:\n\n- Standard endpoints: 60 calls per minute\n- Ticket creation: 120 calls per minute\n\n## License\n\n**Intent**: _This project was developed as a free service for fellow TeamDynamix users and is not supported by TeamDynamix. The license is intended to cover the use of the software for non-profit, educational, research, or personal projects._\n\n**Non-Commercial Use:**\nThis project is provided under the [PolyForm Noncommercial License](https://polyformproject.org/licenses/noncommercial/1.0.0/). Feel free to use it for educational, research, or personal projects.\n\n**Commercial Use:**\nIf you intend to use this software for profit-generating, revenue-driven, or otherwise commercial endeavors, please obtain a separate commercial license.\n\n**Contact for Commercial License:**\n[Ron Vallejo](https://github.com/Atreyu4EVR)\nEmail: [vallejor@byui.edu](mailto:vallejor@byui.edu)\n\n## Reporting Issues\n\nIf you encounter any bugs or have feature requests, please file an issue on GitHub:\n\n1. First, check if the issue has already been reported in the [Issues](https://github.com/Atreyu4EVR/TeamDynamix/issues) section.\n\n2. If not, create a new issue with:\n   - A clear, descriptive title\n   - A detailed description of the issue\n   - Steps to reproduce the problem\n   - Expected vs actual behavior\n   - Your environment details:\n     - Python version\n     - Library version\n     - TeamDynamix instance (if relevant)\n     - Operating system\n\nExample bug report format:\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fatreyu4evr%2Fteamdynamix","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fatreyu4evr%2Fteamdynamix","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fatreyu4evr%2Fteamdynamix/lists"}