composio-scavio 0.5.3 → 0.6.0
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/README.md +3 -3
- package/dist/index.cjs +16 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +16 -4
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
[Scavio](https://scavio.dev) real-time search tools for [Composio](https://composio.dev) (TypeScript).
|
|
4
4
|
|
|
5
|
-
Scavio is a single Search API over 31 platforms -- Google, YouTube, Amazon, Walmart, eBay, Target, Home Depot, Reddit, TikTok, TikTok Shop, Instagram, X, LinkedIn, Threads, Kuaishou, Zillow, Redfin, Booking.com, Airbnb, Tripadvisor, Yelp, Indeed, Glassdoor, the Apple App Store, Google Play, SEC EDGAR, Companies House, G2, Capterra, Google Ads Transparency and the Meta Ad Library -- plus `extract`, which reads any URL as Markdown, plain text or raw HTML. This package exposes **
|
|
5
|
+
Scavio is a single Search API over 31 platforms -- Google, YouTube, Amazon, Walmart, eBay, Target, Home Depot, Reddit, TikTok, TikTok Shop, Instagram, X, LinkedIn, Threads, Kuaishou, Zillow, Redfin, Booking.com, Airbnb, Tripadvisor, Yelp, Indeed, Glassdoor, the Apple App Store, Google Play, SEC EDGAR, Companies House, G2, Capterra, Google Ads Transparency and the Meta Ad Library -- plus `extract`, which reads any URL as Markdown, plain text or raw HTML. This package exposes **195 tools** -- one per live endpoint plus five website tools that map, crawl and batch-extract whole sites -- as a Composio custom toolkit so your agents can pull structured, up-to-date results across any Composio-supported framework.
|
|
6
6
|
|
|
7
7
|
> **New in 0.5.0: website map, crawl and batch.** Five opt-in tools behind
|
|
8
8
|
> `enableCrawl` -- see [Map, crawl and batch](#map-crawl-and-batch). Needs
|
|
@@ -122,7 +122,7 @@ All tools are grouped under the `SCAVIO` custom toolkit; agent-facing slugs are
|
|
|
122
122
|
| Threads | `enableThreads` | 6 | profile, user posts, user replies, post, post comments, search users |
|
|
123
123
|
| Kuaishou (China) | `enableKuaishou` | 14 | profile, user posts, user live, user resolve, video, video comments, comment replies, videos batch, search, search videos, search users, search live, tag feed, trending |
|
|
124
124
|
| eBay | `enableEbay` | 3 | search, product, seller |
|
|
125
|
-
| Target | `enableTarget` |
|
|
125
|
+
| Target | `enableTarget` | 5 | search, category, product, reviews, availability |
|
|
126
126
|
| Home Depot | `enableHomeDepot` | 3 | search, product, reviews |
|
|
127
127
|
| Zillow | `enableZillow` | 3 | search, property, agent reviews |
|
|
128
128
|
| Booking.com | `enableBooking` | 3 | search, hotel, reviews |
|
|
@@ -141,7 +141,7 @@ All tools are grouped under the `SCAVIO` custom toolkit; agent-facing slugs are
|
|
|
141
141
|
| Google Ads Transparency | `enableGoogleAds` | 3 | advertisers, search, creative |
|
|
142
142
|
| Meta Ad Library | `enableMetaAds` | 3 | search, advertiser, ad |
|
|
143
143
|
| Website map, crawl, batch | `enableCrawl` | 5 | map website, crawl website, crawl status, batch extract, batch status |
|
|
144
|
-
| **Total** | | **
|
|
144
|
+
| **Total** | | **195** | |
|
|
145
145
|
|
|
146
146
|
Two endpoints are deliberately not exposed:
|
|
147
147
|
|
package/dist/index.cjs
CHANGED
|
@@ -1590,7 +1590,7 @@ function buildScavioToolkit(options = {}) {
|
|
|
1590
1590
|
page: onum("Results page, 1-based."),
|
|
1591
1591
|
count: onum("Results per page, 1-28. Defaults to 24; Target rejects anything above 28 outright."),
|
|
1592
1592
|
sort: ostr("Result sort order. Defaults to 'relevance'. Accepted values: 'relevance', 'featured', 'price_low', 'price_high', 'rating_high', 'best_seller', 'newest'."),
|
|
1593
|
-
store_id: ostr("Numeric Target store id whose prices
|
|
1593
|
+
store_id: ostr("Numeric Target store id whose prices the response reflects. Defaults to '3991', the store target.com uses with no store context.")
|
|
1594
1594
|
}),
|
|
1595
1595
|
(i) => client.target.search(i)
|
|
1596
1596
|
),
|
|
@@ -1603,7 +1603,7 @@ function buildScavioToolkit(options = {}) {
|
|
|
1603
1603
|
page: onum("Results page, 1-based."),
|
|
1604
1604
|
count: onum("Results per page, 1-28. Defaults to 24; Target rejects anything above 28 outright."),
|
|
1605
1605
|
sort: ostr("Result sort order. Defaults to 'relevance'. Accepted values: 'relevance', 'featured', 'price_low', 'price_high', 'rating_high', 'best_seller', 'newest'."),
|
|
1606
|
-
store_id: ostr("Numeric Target store id whose prices
|
|
1606
|
+
store_id: ostr("Numeric Target store id whose prices the response reflects. Defaults to '3991'.")
|
|
1607
1607
|
}),
|
|
1608
1608
|
(i) => client.target.category(i)
|
|
1609
1609
|
),
|
|
@@ -1613,7 +1613,7 @@ function buildScavioToolkit(options = {}) {
|
|
|
1613
1613
|
"Target product details by TCIN: price, rating, images, specifications, variants, return policy, fulfillment. seller_id/seller_name are null for stock sold by Target. Costs 1 credit.",
|
|
1614
1614
|
import_zod.z.object({
|
|
1615
1615
|
tcin: str("Target catalog id (tcin, e.g. '1010453160'). A colour/size child tcin is answered by its variation parent, with the child present in 'variants'."),
|
|
1616
|
-
store_id: ostr("Numeric Target store id whose prices
|
|
1616
|
+
store_id: ostr("Numeric Target store id whose prices the response reflects. Defaults to '3991'.")
|
|
1617
1617
|
}),
|
|
1618
1618
|
(i) => client.target.product(i)
|
|
1619
1619
|
),
|
|
@@ -1624,9 +1624,21 @@ function buildScavioToolkit(options = {}) {
|
|
|
1624
1624
|
import_zod.z.object({
|
|
1625
1625
|
tcin: str("Target catalog id (tcin, e.g. '1010453160')."),
|
|
1626
1626
|
limit: onum("Trim the returned reviews to at most this many (1 or greater). Target publishes 8 anonymously and offers no paging, so this only trims."),
|
|
1627
|
-
store_id: ostr("Numeric Target store id whose prices
|
|
1627
|
+
store_id: ostr("Numeric Target store id whose prices the response reflects. Defaults to '3991'.")
|
|
1628
1628
|
}),
|
|
1629
1629
|
(i) => client.target.reviews(i)
|
|
1630
|
+
),
|
|
1631
|
+
tool(
|
|
1632
|
+
"TARGET_AVAILABILITY",
|
|
1633
|
+
"Scavio Target Availability",
|
|
1634
|
+
"In-store stock for a Target product at every store near a ZIP: units available, in-store, pickup, curbside and ship-to-store status, distance, address and hours. Costs 1 credit.",
|
|
1635
|
+
import_zod.z.object({
|
|
1636
|
+
tcin: str("Target catalog id (tcin, e.g. '85978609')."),
|
|
1637
|
+
zip: str("5-digit US ZIP code to search around."),
|
|
1638
|
+
radius: onum("Search radius in miles, 1-100. Defaults to 25. At most 20 stores."),
|
|
1639
|
+
store_id: ostr("Return only this Target store. It must be within radius of zip.")
|
|
1640
|
+
}),
|
|
1641
|
+
(i) => client.target.availability(i)
|
|
1630
1642
|
)
|
|
1631
1643
|
);
|
|
1632
1644
|
}
|