{"id":21673640,"url":"https://github.com/agenty/agenty.scripting","last_synced_at":"2026-05-18T07:34:33.979Z","repository":{"id":38009038,"uuid":"182504742","full_name":"Agenty/Agenty.scripting","owner":"Agenty","description":"A replication of Agenty scripting library in C# to test and debug pre-processing and post-processing scripts locally","archived":false,"fork":false,"pushed_at":"2022-12-08T05:28:36.000Z","size":23,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-04T03:09:15.345Z","etag":null,"topics":["api","csharp","dotnet"],"latest_commit_sha":null,"homepage":"https://www.agenty.com/docs/scripting","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Agenty.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}},"created_at":"2019-04-21T07:46:12.000Z","updated_at":"2019-06-13T05:00:28.000Z","dependencies_parsed_at":"2023-01-24T12:26:26.380Z","dependency_job_id":null,"html_url":"https://github.com/Agenty/Agenty.scripting","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Agenty/Agenty.scripting","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Agenty%2FAgenty.scripting","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Agenty%2FAgenty.scripting/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Agenty%2FAgenty.scripting/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Agenty%2FAgenty.scripting/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Agenty","download_url":"https://codeload.github.com/Agenty/Agenty.scripting/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Agenty%2FAgenty.scripting/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279447051,"owners_count":26171842,"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-17T02:00:07.504Z","response_time":56,"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":["api","csharp","dotnet"],"created_at":"2024-11-25T13:40:14.247Z","updated_at":"2025-10-18T01:28:13.115Z","avatar_url":"https://github.com/Agenty.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Agenty.scripting\nA replication of [Agenty scripting](https://www.agenty.com/docs/scripting) library in `C#` to test and debug pre-processing and post-processing scripts locally\n\n\n```\nInstall-Package Agenty.scripting\n```\n\n## Post-processing\n```\n// Set your api key\nAgenty.ApiKey = \"AGENTY_API_KEY\";\n\n// Get agent result as DataTable\nvar table = Agenty.Cloud.GetAgentResult(\"\u003cAGENT_ID\u003e\");\n            \n// Write your code here to test\n\n// Print the table for preview locally\ntable.Dump();\n\n// Set the result back to agent\n//table.SetAgentResult();\n```\n## Replace example\n```\n// Set your api key\nAgenty.ApiKey = \"AGENTY_API_KEY\";\n\n// Get agent result as DataTable\nvar table = Agenty.Cloud.GetAgentResult(\"\u003cAGENT_ID\u003e\");\n            \n// Write your code here to test\nforeach(DataRow row in table.Rows)\n{\n\trow[\"Field1\"] = row[\"Field1\"].ToString().Replace(\"abc\", \"xyz\");\n}\n\n// Print the table for preview locally\ntable.Dump();\n\n// Set the result back to agent\n//table.SetAgentResult();\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fagenty%2Fagenty.scripting","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fagenty%2Fagenty.scripting","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fagenty%2Fagenty.scripting/lists"}