composio-scavio 0.5.1 → 0.5.3
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 +1 -1
- package/dist/index.cjs +20 -20
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +20 -20
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -970,7 +970,7 @@ function buildScavioToolkit(options = {}) {
|
|
|
970
970
|
tool(
|
|
971
971
|
"INSTAGRAM_PROFILE",
|
|
972
972
|
"Scavio Instagram Profile",
|
|
973
|
-
"Fetch an Instagram profile by username or user id. Costs
|
|
973
|
+
"Fetch an Instagram profile by username or user id. Costs 1 credit.",
|
|
974
974
|
z.object({
|
|
975
975
|
username: ostr("Instagram username. Provide this or user_id."),
|
|
976
976
|
user_id: ostr("Instagram user id. Provide this or username.")
|
|
@@ -980,7 +980,7 @@ function buildScavioToolkit(options = {}) {
|
|
|
980
980
|
tool(
|
|
981
981
|
"INSTAGRAM_USER_POSTS",
|
|
982
982
|
"Scavio Instagram User Posts",
|
|
983
|
-
"List an Instagram user's posts. Costs 2 credits
|
|
983
|
+
"List an Instagram user's posts. Costs 2 credits per page.",
|
|
984
984
|
z.object({
|
|
985
985
|
username: ostr("Instagram username. Provide this or user_id."),
|
|
986
986
|
user_id: ostr("Instagram user id. Provide this or username."),
|
|
@@ -992,7 +992,7 @@ function buildScavioToolkit(options = {}) {
|
|
|
992
992
|
tool(
|
|
993
993
|
"INSTAGRAM_USER_REELS",
|
|
994
994
|
"Scavio Instagram User Reels",
|
|
995
|
-
"List an Instagram user's reels. Costs
|
|
995
|
+
"List an Instagram user's reels. Costs 1 credit (2 the first time a username is looked up).",
|
|
996
996
|
z.object({
|
|
997
997
|
username: ostr("Instagram username. Provide this or user_id."),
|
|
998
998
|
user_id: ostr("Instagram user id. Provide this or username."),
|
|
@@ -1004,7 +1004,7 @@ function buildScavioToolkit(options = {}) {
|
|
|
1004
1004
|
tool(
|
|
1005
1005
|
"INSTAGRAM_USER_TAGGED",
|
|
1006
1006
|
"Scavio Instagram User Tagged",
|
|
1007
|
-
"List posts an Instagram user is tagged in. Costs
|
|
1007
|
+
"List posts an Instagram user is tagged in. Costs 1 credit (2 the first time a username is looked up).",
|
|
1008
1008
|
z.object({
|
|
1009
1009
|
username: ostr("Instagram username. Provide this or user_id."),
|
|
1010
1010
|
user_id: ostr("Instagram user id. Provide this or username."),
|
|
@@ -1016,7 +1016,7 @@ function buildScavioToolkit(options = {}) {
|
|
|
1016
1016
|
tool(
|
|
1017
1017
|
"INSTAGRAM_USER_STORIES",
|
|
1018
1018
|
"Scavio Instagram User Stories",
|
|
1019
|
-
"Fetch an Instagram user's current stories. Costs
|
|
1019
|
+
"Fetch an Instagram user's current stories. Costs 2 credits.",
|
|
1020
1020
|
z.object({
|
|
1021
1021
|
username: ostr("Instagram username. Provide this or user_id."),
|
|
1022
1022
|
user_id: ostr("Instagram user id. Provide this or username.")
|
|
@@ -1026,7 +1026,7 @@ function buildScavioToolkit(options = {}) {
|
|
|
1026
1026
|
tool(
|
|
1027
1027
|
"INSTAGRAM_POST",
|
|
1028
1028
|
"Scavio Instagram Post",
|
|
1029
|
-
"Fetch an Instagram post by URL, media id, or shortcode. Costs
|
|
1029
|
+
"Fetch an Instagram post by URL, media id, or shortcode. Costs 2 credits.",
|
|
1030
1030
|
z.object({
|
|
1031
1031
|
url: ostr("Post URL. Provide one of url, media_id, or shortcode."),
|
|
1032
1032
|
media_id: ostr("Post media id. Provide one of url, media_id, or shortcode."),
|
|
@@ -1037,7 +1037,7 @@ function buildScavioToolkit(options = {}) {
|
|
|
1037
1037
|
tool(
|
|
1038
1038
|
"INSTAGRAM_POST_COMMENTS",
|
|
1039
1039
|
"Scavio Instagram Post Comments",
|
|
1040
|
-
"List comments on an Instagram post by shortcode or URL. Costs
|
|
1040
|
+
"List comments on an Instagram post by shortcode or URL. Costs 2 credits per page.",
|
|
1041
1041
|
z.object({
|
|
1042
1042
|
shortcode: ostr("Post shortcode. Provide this or url."),
|
|
1043
1043
|
url: ostr("Post URL. Provide this or shortcode."),
|
|
@@ -1049,7 +1049,7 @@ function buildScavioToolkit(options = {}) {
|
|
|
1049
1049
|
tool(
|
|
1050
1050
|
"INSTAGRAM_COMMENT_REPLIES",
|
|
1051
1051
|
"Scavio Instagram Comment Replies",
|
|
1052
|
-
"List replies to an Instagram post comment. Costs
|
|
1052
|
+
"List replies to an Instagram post comment. Costs 2 credits.",
|
|
1053
1053
|
z.object({
|
|
1054
1054
|
media_id: str("Post media id."),
|
|
1055
1055
|
comment_id: str("Parent comment id."),
|
|
@@ -1060,7 +1060,7 @@ function buildScavioToolkit(options = {}) {
|
|
|
1060
1060
|
tool(
|
|
1061
1061
|
"INSTAGRAM_SEARCH_USERS",
|
|
1062
1062
|
"Scavio Instagram Search Users",
|
|
1063
|
-
"Search Instagram users by keyword. Costs
|
|
1063
|
+
"Search Instagram users by keyword. Costs 2 credits; a request with a cursor costs 8.",
|
|
1064
1064
|
z.object({
|
|
1065
1065
|
keyword: str("Search keyword."),
|
|
1066
1066
|
cursor: ostr("Pagination cursor.")
|
|
@@ -1070,7 +1070,7 @@ function buildScavioToolkit(options = {}) {
|
|
|
1070
1070
|
tool(
|
|
1071
1071
|
"INSTAGRAM_SEARCH_HASHTAGS",
|
|
1072
1072
|
"Scavio Instagram Search Hashtags",
|
|
1073
|
-
"Search Instagram hashtags by keyword. Costs
|
|
1073
|
+
"Search Instagram hashtags by keyword. Costs 2 credits; a request with a cursor costs 8.",
|
|
1074
1074
|
z.object({
|
|
1075
1075
|
keyword: str("Search keyword."),
|
|
1076
1076
|
cursor: ostr("Pagination cursor.")
|
|
@@ -1080,7 +1080,7 @@ function buildScavioToolkit(options = {}) {
|
|
|
1080
1080
|
tool(
|
|
1081
1081
|
"INSTAGRAM_USER_FOLLOWERS",
|
|
1082
1082
|
"Scavio Instagram User Followers",
|
|
1083
|
-
"List an Instagram user's followers. Costs
|
|
1083
|
+
"List an Instagram user's followers. Costs 2 credits per page.",
|
|
1084
1084
|
z.object({
|
|
1085
1085
|
username: ostr("Instagram username. Provide this or user_id."),
|
|
1086
1086
|
user_id: ostr("Instagram user id. Provide this or username."),
|
|
@@ -1092,7 +1092,7 @@ function buildScavioToolkit(options = {}) {
|
|
|
1092
1092
|
tool(
|
|
1093
1093
|
"INSTAGRAM_USER_FOLLOWINGS",
|
|
1094
1094
|
"Scavio Instagram User Followings",
|
|
1095
|
-
"List the accounts an Instagram user follows. Costs
|
|
1095
|
+
"List the accounts an Instagram user follows. Costs 2 credits per page.",
|
|
1096
1096
|
z.object({
|
|
1097
1097
|
username: ostr("Instagram username. Provide this or user_id."),
|
|
1098
1098
|
user_id: ostr("Instagram user id. Provide this or username."),
|
|
@@ -1225,7 +1225,7 @@ function buildScavioToolkit(options = {}) {
|
|
|
1225
1225
|
tool(
|
|
1226
1226
|
"LINKEDIN_PERSON_ABOUT",
|
|
1227
1227
|
"Scavio LinkedIn Person About",
|
|
1228
|
-
"The about-only slice of a LinkedIn profile: about, headline, education_summary, experiences, educations, honors_and_awards and bio_links. Same
|
|
1228
|
+
"The about-only slice of a LinkedIn profile: about, headline, education_summary, experiences, educations, honors_and_awards and bio_links. Same lookup as LINKEDIN_PERSON, shaped down. Costs 1 credit.",
|
|
1229
1229
|
z.object({
|
|
1230
1230
|
username: ostr("Public identifier / vanity handle. Provide this or url."),
|
|
1231
1231
|
url: ostr("Full LinkedIn profile URL. Provide this or username.")
|
|
@@ -1525,7 +1525,7 @@ function buildScavioToolkit(options = {}) {
|
|
|
1525
1525
|
query: ostr("Keyword to search (1-500 characters). Optional: a seller-only search pages that seller's whole catalogue."),
|
|
1526
1526
|
seller: ostr("Restrict results to one seller's listings (1-64 characters), as in ebay.com/usr/<name>. Can be sent with no query."),
|
|
1527
1527
|
page: onum("Results page, 1-based."),
|
|
1528
|
-
sort_by: ostr("Result sort order. Defaults to 'best_match'. eBay's 'Distance: nearest first' is deliberately unsupported (it
|
|
1528
|
+
sort_by: ostr("Result sort order. Defaults to 'best_match'. eBay's 'Distance: nearest first' is deliberately unsupported (it would not rank by the location of the caller). Accepted values: 'best_match', 'ending_soonest', 'newly_listed', 'price_low', 'price_high'."),
|
|
1529
1529
|
min_price: onum("Minimum price, inclusive. Must be 0 or greater."),
|
|
1530
1530
|
max_price: onum("Maximum price, inclusive. Must be 0 or greater."),
|
|
1531
1531
|
condition: ostr("Item condition filter. 'refurbished' is eBay's parent condition, not one of its three graded tiers. Accepted values: 'new', 'open_box', 'refurbished', 'used', 'for_parts'."),
|
|
@@ -1728,7 +1728,7 @@ function buildScavioToolkit(options = {}) {
|
|
|
1728
1728
|
adults: onum("Adult guests, >= 1 (default 2)."),
|
|
1729
1729
|
children_ages: oarrnum("AGES of accompanying children, each 0-17, max 10 entries. Ages, not a count."),
|
|
1730
1730
|
rooms: onum("Rooms required, >= 1 (default 1)."),
|
|
1731
|
-
currency: ostr("ISO 4217 currency for prices, 3 letters (default 'USD'). Without it Booking
|
|
1731
|
+
currency: ostr("ISO 4217 currency for prices, 3 letters (default 'USD'). Without it Booking picks a currency itself and identical requests can disagree.")
|
|
1732
1732
|
}),
|
|
1733
1733
|
(i) => client.booking.search(i)
|
|
1734
1734
|
),
|
|
@@ -1744,7 +1744,7 @@ function buildScavioToolkit(options = {}) {
|
|
|
1744
1744
|
adults: onum("Adult guests, >= 1 (default 2)."),
|
|
1745
1745
|
children_ages: oarrnum("AGES of accompanying children, each 0-17, max 10 entries. Ages, not a count."),
|
|
1746
1746
|
rooms: onum("Rooms required, >= 1 (default 1)."),
|
|
1747
|
-
currency: ostr("ISO 4217 currency for prices, 3 letters (default 'USD'). Without it Booking
|
|
1747
|
+
currency: ostr("ISO 4217 currency for prices, 3 letters (default 'USD'). Without it Booking picks a currency itself and identical requests can disagree.")
|
|
1748
1748
|
}),
|
|
1749
1749
|
(i) => client.booking.hotel(i)
|
|
1750
1750
|
),
|
|
@@ -1890,7 +1890,7 @@ function buildScavioToolkit(options = {}) {
|
|
|
1890
1890
|
guest_favorite: obool("Guest Favorite listings only."),
|
|
1891
1891
|
free_cancellation: obool("Listings with free cancellation only."),
|
|
1892
1892
|
amenities: ostr("Comma-separated amenities (1-200 characters): wifi, air_conditioning, pool, kitchen, free_parking, washer, self_check_in, tv, or raw numeric Airbnb amenity ids. An unrecognised NAME is rejected before the scrape."),
|
|
1893
|
-
currency: ostr("ISO 4217 currency for prices, 3 letters (default 'USD'). Without it Airbnb
|
|
1893
|
+
currency: ostr("ISO 4217 currency for prices, 3 letters (default 'USD'). Without it Airbnb picks a currency itself and identical requests can disagree."),
|
|
1894
1894
|
page: onum("Results page, 1-based. 18 listings per page. Cannot be combined with cursor."),
|
|
1895
1895
|
cursor: ostr("next_cursor from a previous response (1-500 characters); wins over page, so sending both is rejected.")
|
|
1896
1896
|
}),
|
|
@@ -1953,7 +1953,7 @@ function buildScavioToolkit(options = {}) {
|
|
|
1953
1953
|
"Scavio Glassdoor Reviews",
|
|
1954
1954
|
"Up to THREE full Glassdoor reviews - the cap is Glassdoor's login wall - with per-axis scores, pros, cons, advice, job title, location, employment status and employer response, plus complete rating statistics, star distribution, aggregate pro/con highlight terms and per-job-title review counts. There is no page param: move the window with category and employment_status. Provide employer_id or url. Costs 1 credit.",
|
|
1955
1955
|
z.object({
|
|
1956
|
-
employer_id: ostr("Glassdoor employer id (1-50 characters): '1699', 'E1699' or 'IE1699'. Must be a STRING - a JSON number is rejected. Addressing by id
|
|
1956
|
+
employer_id: ostr("Glassdoor employer id (1-50 characters): '1699', 'E1699' or 'IE1699'. Must be a STRING - a JSON number is rejected. Addressing by id takes an extra lookup; the customer price is unchanged."),
|
|
1957
1957
|
company: ostr("Employer name as it appears in a Glassdoor slug (1-200 characters). COSMETIC: ignored when url is set, and it does not satisfy the employer_id-or-url requirement."),
|
|
1958
1958
|
url: ostr("Any glassdoor.com employer URL (1-500 characters). Pass back reviews_url from company() to skip the resolve fetch. A non-glassdoor.com host is rejected."),
|
|
1959
1959
|
category: ostr("Restrict to reviews Glassdoor files under one topic. Closed enum: Glassdoor IGNORES an unknown value and serves the unfiltered set under a 200. Read filtered_review_count on the response to see how many match. Accepted values: 'career_development', 'compensation', 'culture', 'diversity_and_inclusion', 'management', 'work_life_balance'."),
|
|
@@ -1966,7 +1966,7 @@ function buildScavioToolkit(options = {}) {
|
|
|
1966
1966
|
"Scavio Glassdoor Salaries",
|
|
1967
1967
|
"Glassdoor salaries by job title, 10 titles per page: base-pay and total-pay percentiles P10-P90 with medians called out, sample counts, currency, pay period and last-reported date. The figures are Glassdoor's ESTIMATES for the title, not individual reported salaries. Provide employer_id or url. Costs 1 credit.",
|
|
1968
1968
|
z.object({
|
|
1969
|
-
employer_id: ostr("Glassdoor employer id (1-50 characters): '1699', 'E1699' or 'IE1699'. Must be a STRING - a JSON number is rejected. Addressing by id
|
|
1969
|
+
employer_id: ostr("Glassdoor employer id (1-50 characters): '1699', 'E1699' or 'IE1699'. Must be a STRING - a JSON number is rejected. Addressing by id takes an extra lookup; the customer price is unchanged."),
|
|
1970
1970
|
company: ostr("Employer name as it appears in a Glassdoor slug (1-200 characters). COSMETIC: ignored when url is set, and it does not satisfy the employer_id-or-url requirement."),
|
|
1971
1971
|
url: ostr("Any glassdoor.com employer URL (1-500 characters). Pass back salaries_url from company() to skip the resolve fetch. A non-glassdoor.com host is rejected."),
|
|
1972
1972
|
page: onum("Results page, 1-based. Ten job titles per page; page_count on the response is how many pages exist.")
|
|
@@ -1983,7 +1983,7 @@ function buildScavioToolkit(options = {}) {
|
|
|
1983
1983
|
"Businesses in Yelp's ranked order: rating, review count, price band, categories, address, contact rails, hours, photos and a review snippet; every row carries both business_id and alias. Yelp fixes the page size at 10. Provide term and location, or url. Costs 2 credits.",
|
|
1984
1984
|
z.object({
|
|
1985
1985
|
term: ostr("What to look for (1-200 characters): a category ('plumbers'), a dish, or a business name. Required together with location unless url is given."),
|
|
1986
|
-
location: ostr("Where to look (1-200 characters): city and region, a full address, or a postcode. Effectively required - Yelp
|
|
1986
|
+
location: ostr("Where to look (1-200 characters): city and region, a full address, or a postcode. Effectively required - without it Yelp picks a location itself, so the same request can answer about a different metro run to run."),
|
|
1987
1987
|
page: onum("Results page, 1-based. Yelp fixes the page size at 10."),
|
|
1988
1988
|
sort: ostr("Result ordering (upstream default 'recommended'). Closed enum: Yelp IGNORES an unrecognised sortby and serves default ranking under a 200, billing a premium scrape for a sort that never ran. Accepted values: 'recommended', 'rating', 'review_count'."),
|
|
1989
1989
|
price: oarrnum("Price bands to include, 1 ($) to 4 ($$$$); 1-4 values, combined freely - [1, 2] means $ or $$. Accepted values: 1, 2, 3, 4."),
|