You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 35e256a
Browse filesBrowse the repository at this point in the historyBrowse files
Usage: "Retrieve and normalize a person profile from identifiers.",
133
+
Usage: "Scrape 25K URLs or crawl large websites asynchronously.",
118
134
Suggest: true,
119
135
Flags: []cli.Flag{
120
136
&requestflag.Flag[map[string]any]{
121
-
Name: "identifiers",
122
-
Usage: "Known identifiers for the person. At least one identifier is required.",
137
+
Name: "input",
138
+
Usage: "Choose a URL list or a site crawl.",
123
139
Required: true,
124
-
BodyPath: "identifiers",
140
+
BodyPath: "input",
125
141
},
126
142
&requestflag.Flag[[]string]{
127
143
Name: "tag",
128
-
Usage: "Optional tags for tracking usage. Up to 20 tags, each 1 to 50 characters.",
144
+
Usage: "Tags stored on the batch. Filter the batch list by them later.",
129
145
BodyPath: "tags",
130
146
},
131
-
&requestflag.Flag[int64]{
132
-
Name: "timeout-ms",
133
-
Usage: "Optional timeout in milliseconds for the request. If the request takes longer than this value, it will be aborted with a 408 status code. Maximum allowed value is 300000ms (5 minutes).",
134
-
BodyPath: "timeoutMS",
147
+
&requestflag.Flag[string]{
148
+
Name: "webhook-url",
149
+
Usage: "URL notified when the batch finishes.",
150
+
BodyPath: "webhookUrl",
151
+
},
152
+
&requestflag.Flag[string]{
153
+
Name: "idempotency-key",
154
+
Usage: "Any string unique to this submission. Retries with the same key return the original batch.",
155
+
HeaderPath: "Idempotency-Key",
135
156
},
136
157
},
137
158
Action: handleBatchSubmit,
138
159
HideHelpCommand: true,
139
-
}, map[string][]requestflag.HasOuterFlag{
140
-
"identifiers": {
141
-
&requestflag.InnerFlag[string]{
142
-
Name: "identifiers.linkedin-url",
143
-
Usage: "LinkedIn profile URL, e.g. https://www.linkedin.com/in/yahia-bakour/.",
0 commit comments