@crawlora-org/sdk 1.20.0-sdk.1 → 1.25.0-sdk.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +26 -0
- package/docs/operations.md +141 -91
- package/docs/recipes.md +20 -0
- package/openapi/public.json +51691 -43275
- package/package.json +1 -1
- package/src/client.js +1 -1
- package/src/operations.js +6945 -3276
- package/src/types.d.ts +2289 -562
package/docs/recipes.md
CHANGED
|
@@ -39,6 +39,26 @@ const posts = await crawlora.reddit.search({ q: "typescript", subreddit: "progra
|
|
|
39
39
|
const brand = await crawlora.brand.retrieve({ domain: "stripe.com" });
|
|
40
40
|
```
|
|
41
41
|
|
|
42
|
+
## Threads Public Lookups
|
|
43
|
+
|
|
44
|
+
```ts
|
|
45
|
+
const profile = await crawlora.threads.profile({ username: "zuck" });
|
|
46
|
+
const post = await crawlora.threads.post({ username: "zuck", code: "DakyAavlKLZ" });
|
|
47
|
+
const results = await crawlora.threads.search({ q: "openai" });
|
|
48
|
+
const posts = await crawlora.threads.profilePosts({ username: "zuck" });
|
|
49
|
+
const replies = await crawlora.threads.postReplies({ username: "zuck", code: "DakyAavlKLZ" });
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
## Box Office Mojo Dataset
|
|
53
|
+
|
|
54
|
+
Search theatrical box-office records, fetch one title, and facet the same filter set.
|
|
55
|
+
|
|
56
|
+
```ts
|
|
57
|
+
const titles = await crawlora.datasets.boxofficemojoSearch({ q: "avatar", sort: "worldwide_desc" });
|
|
58
|
+
const avatar = await crawlora.datasets.boxofficemojoItem({ title_id: "tt0499549" });
|
|
59
|
+
const years = await crawlora.datasets.boxofficemojoFacets({ facet: "years_active", gross_band: "over_1b" });
|
|
60
|
+
```
|
|
61
|
+
|
|
42
62
|
## Software, Reviews, And Market Datasets
|
|
43
63
|
|
|
44
64
|
Build a Chrome extension competitive-intelligence view without downloading the
|