Skip to content

Commit 0447d3b

Browse files
committed
chore: remove legacy sdk references
1 parent ef8cb35 commit 0447d3b

37 files changed

Lines changed: 8 additions & 758 deletions

.DS_Store

-6 KB
Binary file not shown.

README.md

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
[![npm version](https://badge.fury.io/js/scrapegraph-js.svg)](https://badge.fury.io/js/scrapegraph-js)
44
[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://opensource.org/licenses/MIT)
55

6-
Official JavaScript/TypeScript SDK for the ScrapeGraph AI API v2.
6+
Official ScrapeGraphAI SDK for the ScrapeGraph AI API v2.
77

88
## Install
99

@@ -139,13 +139,6 @@ await sgai.monitor.create({
139139
});
140140
```
141141

142-
## Breaking Changes In v2
143-
144-
- The SDK now uses `scrapegraphai(config)` instead of flat top-level functions.
145-
- Requests target the new `/v2/*` API surface.
146-
- Old helpers like `smartScraper`, `searchScraper`, `markdownify`, `agenticScraper`, `sitemap`, and `generateSchema` are not part of the v2 client.
147-
- `crawl` and `monitor` are now namespaced APIs.
148-
149142
## Development
150143

151144
```bash

biome.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,6 @@
3131
}
3232
],
3333
"files": {
34-
"includes": ["**", "!dist", "!node_modules", "!bun.lock", "!.claude", "!examples"]
34+
"includes": ["**", "!dist", "!node_modules", "!bun.lock"]
3535
}
3636
}

examples/.env.example

Lines changed: 0 additions & 1 deletion
This file was deleted.

examples/agenticscraper/agenticscraper_ai_extraction.ts

Lines changed: 0 additions & 35 deletions
This file was deleted.

examples/agenticscraper/agenticscraper_basic.ts

Lines changed: 0 additions & 22 deletions
This file was deleted.

examples/crawl/crawl_basic.ts

Lines changed: 0 additions & 23 deletions
This file was deleted.

examples/crawl/crawl_markdown.ts

Lines changed: 0 additions & 28 deletions
This file was deleted.

examples/crawl/crawl_with_schema.ts

Lines changed: 0 additions & 50 deletions
This file was deleted.

examples/markdownify/markdownify_basic.ts

Lines changed: 0 additions & 13 deletions
This file was deleted.

0 commit comments

Comments
 (0)