{"id":30283215,"url":"https://github.com/scrapegraphai/scrapegraphai-c","last_synced_at":"2025-08-16T17:33:52.344Z","repository":{"id":309648100,"uuid":"1036617647","full_name":"ScrapeGraphAI/scrapegraphai-c","owner":"ScrapeGraphAI","description":null,"archived":false,"fork":false,"pushed_at":"2025-08-13T02:09:23.000Z","size":85,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-08-13T04:09:58.381Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C#","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/ScrapeGraphAI.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":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-08-12T10:39:26.000Z","updated_at":"2025-08-12T12:25:39.000Z","dependencies_parsed_at":"2025-08-13T04:20:13.768Z","dependency_job_id":null,"html_url":"https://github.com/ScrapeGraphAI/scrapegraphai-c","commit_stats":null,"previous_names":["scrapegraphai/scrapegraphai-c"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/ScrapeGraphAI/scrapegraphai-c","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ScrapeGraphAI%2Fscrapegraphai-c","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ScrapeGraphAI%2Fscrapegraphai-c/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ScrapeGraphAI%2Fscrapegraphai-c/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ScrapeGraphAI%2Fscrapegraphai-c/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ScrapeGraphAI","download_url":"https://codeload.github.com/ScrapeGraphAI/scrapegraphai-c/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ScrapeGraphAI%2Fscrapegraphai-c/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270746900,"owners_count":24638445,"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-08-16T02:00:11.002Z","response_time":91,"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":[],"created_at":"2025-08-16T17:33:51.553Z","updated_at":"2025-08-16T17:33:52.319Z","avatar_url":"https://github.com/ScrapeGraphAI.png","language":"C#","readme":"# Scrapegraphai C# API Library\n\n\u003e [!NOTE]\n\u003e The Scrapegraphai C# API Library is currently in **beta** and we're excited for you to experiment with it!\n\u003e\n\u003e This library has not yet been exhaustively tested in production environments and may be missing some features you'd expect in a stable release. As we continue development, there may be breaking changes that require updates to your code.\n\u003e\n\u003e **We'd love your feedback!** Please share any suggestions, bug reports, feature requests, or general thoughts by [filing an issue](https://www.github.com/stainless-sdks/scrapegraphai-csharp/issues/new).\n\nThe Scrapegraphai C# SDK provides convenient access to the [Scrapegraphai REST API](https://scrapegraphai.com) from applications written in C#.\n\nIt is generated with [Stainless](https://www.stainless.com/).\n\nThe REST API documentation can be found on [scrapegraphai.com](https://scrapegraphai.com).\n\n## Installation\n\n```bash\ndotnet add package Scrapegraphai\n```\n\n## Requirements\n\nThis library requires .NET 8 or later.\n\n\u003e [!NOTE]\n\u003e The library is currently in **beta**. The requirements will be lowered in the future.\n\n## Usage\n\nSee the [`examples`](examples) directory for complete and runnable examples.\n\n```csharp\nusing Scrapegraphai;\nusing Scrapegraphai.Models.Smartscraper;\nusing System;\n\n// Configured using the SCRAPEGRAPHAI_API_KEY and SCRAPEGRAPHAI_BASE_URL environment variables\nScrapegraphaiClient client = new();\n\nSmartscraperCreateParams parameters = new()\n{\n    UserPrompt = \"Extract the product name, price, and description\"\n};\n\nvar completedSmartscraper = await client.Smartscraper.Create(parameters);\n\nConsole.WriteLine(completedSmartscraper);\n```\n\n## Client Configuration\n\nConfigure the client using environment variables:\n\n```csharp\nusing Scrapegraphai;\n\n// Configured using the SCRAPEGRAPHAI_API_KEY and SCRAPEGRAPHAI_BASE_URL environment variables\nScrapegraphaiClient client = new();\n```\n\nOr manually:\n\n```csharp\nusing Scrapegraphai;\n\nScrapegraphaiClient client = new() { APIKey = \"My API Key\" };\n```\n\nOr using a combination of the two approaches.\n\nSee this table for the available options:\n\n| Property  | Environment variable     | Required | Default value                        |\n| --------- | ------------------------ | -------- | ------------------------------------ |\n| `APIKey`  | `SCRAPEGRAPHAI_API_KEY`  | true     | -                                    |\n| `BaseUrl` | `SCRAPEGRAPHAI_BASE_URL` | true     | `\"https://api.scrapegraphai.com/v1\"` |\n\n## Requests and responses\n\nTo send a request to the Scrapegraphai API, build an instance of some `Params` class and pass it to the corresponding client method. When the response is received, it will be deserialized into an instance of a C# class.\n\nFor example, `client.Smartscraper.Create` should be called with an instance of `SmartscraperCreateParams`, and it will return an instance of `Task\u003cCompletedSmartscraper\u003e`.\n\n## Semantic versioning\n\nThis package generally follows [SemVer](https://semver.org/spec/v2.0.0.html) conventions, though certain backwards-incompatible changes may be released as minor versions:\n\n1. Changes to library internals which are technically public but not intended or documented for external use. _(Please open a GitHub issue to let us know if you are relying on such internals.)_\n2. Changes that we do not expect to impact the vast majority of users in practice.\n\nWe take backwards-compatibility seriously and work hard to ensure you can rely on a smooth upgrade experience.\n\nWe are keen for your feedback; please open an [issue](https://www.github.com/stainless-sdks/scrapegraphai-csharp/issues) with questions, bugs, or suggestions.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscrapegraphai%2Fscrapegraphai-c","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fscrapegraphai%2Fscrapegraphai-c","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscrapegraphai%2Fscrapegraphai-c/lists"}