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
Copy file name to clipboardExpand all lines: src/diffbot.d.ts
+6-6
Original file line number
Diff line number
Diff line change
@@ -57,7 +57,7 @@ declare class Diffbot {
57
57
* @param {string[]} [options.naturalLanguage] Used to request the output of the Diffbot Natural Language API in the field naturalLanguage. Example: &naturalLanguage=entities,facts,categories,sentiment.
58
58
* @param {string} [options.body] Optional HTML markup to pass as POST body
59
59
* @param {string} [options.customJS] This functionality is currently in beta. See docs for details: https://docs.diffbot.com/docs/en/api-article#custom-javascript
60
-
* @param {object} [options.customHeaders] This functionality is currently in beta. See docs for details: https://docs.diffbot.com/docs/en/api-analyze#custom-headers
60
+
* @param {object} [options.customHeaders] This functionality is currently in beta. See docs for details: https://docs.diffbot.com/docs/en/api-article#custom-headers
61
61
* @returns {object} The article query results
62
62
*/
63
63
article(options: {
@@ -88,7 +88,7 @@ declare class Diffbot {
88
88
* @param {string} [options.proxyAuth] Used to specify the authentication parameters that will be used with the proxy specified in the &proxy parameter. (Ex: &proxyAuth=username:password)
89
89
* @param {string} [options.body] Optional HTML markup to pass as POST body
90
90
* @param {string} [options.customJS] This functionality is currently in beta. See docs for details: https://docs.diffbot.com/docs/en/api-discussion#custom-javascript
91
-
* @param {object} [options.customHeaders] This functionality is currently in beta. See docs for details: https://docs.diffbot.com/docs/en/api-analyze#custom-headers
91
+
* @param {object} [options.customHeaders] This functionality is currently in beta. See docs for details: https://docs.diffbot.com/docs/en/api-discussion#custom-headers
92
92
* @returns {object} The discussion query results
93
93
*/
94
94
discussion(options: {
@@ -114,7 +114,7 @@ declare class Diffbot {
114
114
* @param {string} [options.proxyAuth] Used to specify the authentication parameters that will be used with the proxy specified in the &proxy parameter. (Ex: &proxyAuth=username:password)
115
115
* @param {string} [options.body] Optional HTML markup to pass as POST body
116
116
* @param {string} [options.customJS] This functionality is currently in beta. See docs for details: https://docs.diffbot.com/docs/en/api-event#custom-javascript
117
-
* @param {object} [options.customHeaders] This functionality is currently in beta. See docs for details: https://docs.diffbot.com/docs/en/api-analyze#custom-headers
117
+
* @param {object} [options.customHeaders] This functionality is currently in beta. See docs for details: https://docs.diffbot.com/docs/en/api-event#custom-headers
118
118
* @returns {object} The analyze query results
119
119
*/
120
120
event(options: {
@@ -139,7 +139,7 @@ declare class Diffbot {
139
139
* @param {string} [options.proxyAuth] Used to specify the authentication parameters that will be used with the proxy specified in the &proxy parameter. (Ex: &proxyAuth=username:password)
140
140
* @param {string} [options.body] Optional HTML markup to pass as POST body
141
141
* @param {string} [options.customJS] This functionality is currently in beta. See docs for details: https://docs.diffbot.com/docs/en/api-image#custom-javascript
142
-
* @param {object} [options.customHeaders] This functionality is currently in beta. See docs for details: https://docs.diffbot.com/docs/en/api-analyze#custom-headers
142
+
* @param {object} [options.customHeaders] This functionality is currently in beta. See docs for details: https://docs.diffbot.com/docs/en/api-image#custom-headers
143
143
* @returns {object} The image query results
144
144
*/
145
145
image(options: {
@@ -165,7 +165,7 @@ declare class Diffbot {
165
165
* @param {string} [options.proxyAuth] Used to specify the authentication parameters that will be used with the proxy specified in the &proxy parameter. (Ex: &proxyAuth=username:password)
166
166
* @param {string} [options.body] Optional HTML markup to pass as POST body
167
167
* @param {string} [options.customJS] This functionality is currently in beta. See docs for details: https://docs.diffbot.com/docs/en/api-product#custom-javascript
168
-
* @param {object} [options.customHeaders] This functionality is currently in beta. See docs for details: https://docs.diffbot.com/docs/en/api-analyze#custom-headers
168
+
* @param {object} [options.customHeaders] This functionality is currently in beta. See docs for details: https://docs.diffbot.com/docs/en/api-product#custom-headers
169
169
* @returns {object} The product query results
170
170
*/
171
171
product(options: {
@@ -191,7 +191,7 @@ declare class Diffbot {
191
191
* @param {string} [options.proxyAuth] Used to specify the authentication parameters that will be used with the proxy specified in the &proxy parameter. (Ex: &proxyAuth=username:password)
192
192
* @param {string} [options.body] Optional HTML markup to pass as POST body
193
193
* @param {string} [options.customJS] This functionality is currently in beta. See docs for details: https://docs.diffbot.com/docs/en/api-video#custom-javascript
194
-
* @param {object} [options.customHeaders] This functionality is currently in beta. See docs for details: https://docs.diffbot.com/docs/en/api-analyze#custom-headers
194
+
* @param {object} [options.customHeaders] This functionality is currently in beta. See docs for details: https://docs.diffbot.com/docs/en/api-video#custom-headers
Copy file name to clipboardExpand all lines: src/diffbot.js
+6-6
Original file line number
Diff line number
Diff line change
@@ -96,7 +96,7 @@ class Diffbot {
96
96
* @param {string[]} [options.naturalLanguage] Used to request the output of the Diffbot Natural Language API in the field naturalLanguage. Example: &naturalLanguage=entities,facts,categories,sentiment.
97
97
* @param {string} [options.body] Optional HTML markup to pass as POST body
98
98
* @param {string} [options.customJS] This functionality is currently in beta. See docs for details: https://docs.diffbot.com/docs/en/api-article#custom-javascript
99
-
* @param {object} [options.customHeaders] This functionality is currently in beta. See docs for details: https://docs.diffbot.com/docs/en/api-analyze#custom-headers
99
+
* @param {object} [options.customHeaders] This functionality is currently in beta. See docs for details: https://docs.diffbot.com/docs/en/api-article#custom-headers
100
100
* @returns {object} The article query results
101
101
*/
102
102
article(options){
@@ -166,7 +166,7 @@ class Diffbot {
166
166
* @param {string} [options.proxyAuth] Used to specify the authentication parameters that will be used with the proxy specified in the &proxy parameter. (Ex: &proxyAuth=username:password)
167
167
* @param {string} [options.body] Optional HTML markup to pass as POST body
168
168
* @param {string} [options.customJS] This functionality is currently in beta. See docs for details: https://docs.diffbot.com/docs/en/api-discussion#custom-javascript
169
-
* @param {object} [options.customHeaders] This functionality is currently in beta. See docs for details: https://docs.diffbot.com/docs/en/api-analyze#custom-headers
169
+
* @param {object} [options.customHeaders] This functionality is currently in beta. See docs for details: https://docs.diffbot.com/docs/en/api-discussion#custom-headers
170
170
* @returns {object} The discussion query results
171
171
*/
172
172
discussion(options){
@@ -219,7 +219,7 @@ class Diffbot {
219
219
* @param {string} [options.proxyAuth] Used to specify the authentication parameters that will be used with the proxy specified in the &proxy parameter. (Ex: &proxyAuth=username:password)
220
220
* @param {string} [options.body] Optional HTML markup to pass as POST body
221
221
* @param {string} [options.customJS] This functionality is currently in beta. See docs for details: https://docs.diffbot.com/docs/en/api-event#custom-javascript
222
-
* @param {object} [options.customHeaders] This functionality is currently in beta. See docs for details: https://docs.diffbot.com/docs/en/api-analyze#custom-headers
222
+
* @param {object} [options.customHeaders] This functionality is currently in beta. See docs for details: https://docs.diffbot.com/docs/en/api-event#custom-headers
223
223
* @returns {object} The analyze query results
224
224
*/
225
225
event(options){
@@ -269,7 +269,7 @@ class Diffbot {
269
269
* @param {string} [options.proxyAuth] Used to specify the authentication parameters that will be used with the proxy specified in the &proxy parameter. (Ex: &proxyAuth=username:password)
270
270
* @param {string} [options.body] Optional HTML markup to pass as POST body
271
271
* @param {string} [options.customJS] This functionality is currently in beta. See docs for details: https://docs.diffbot.com/docs/en/api-image#custom-javascript
272
-
* @param {object} [options.customHeaders] This functionality is currently in beta. See docs for details: https://docs.diffbot.com/docs/en/api-analyze#custom-headers
272
+
* @param {object} [options.customHeaders] This functionality is currently in beta. See docs for details: https://docs.diffbot.com/docs/en/api-image#custom-headers
273
273
* @returns {object} The image query results
274
274
*/
275
275
image(options){
@@ -320,7 +320,7 @@ class Diffbot {
320
320
* @param {string} [options.proxyAuth] Used to specify the authentication parameters that will be used with the proxy specified in the &proxy parameter. (Ex: &proxyAuth=username:password)
321
321
* @param {string} [options.body] Optional HTML markup to pass as POST body
322
322
* @param {string} [options.customJS] This functionality is currently in beta. See docs for details: https://docs.diffbot.com/docs/en/api-product#custom-javascript
323
-
* @param {object} [options.customHeaders] This functionality is currently in beta. See docs for details: https://docs.diffbot.com/docs/en/api-analyze#custom-headers
323
+
* @param {object} [options.customHeaders] This functionality is currently in beta. See docs for details: https://docs.diffbot.com/docs/en/api-product#custom-headers
324
324
* @returns {object} The product query results
325
325
*/
326
326
product(options){
@@ -373,7 +373,7 @@ class Diffbot {
373
373
* @param {string} [options.proxyAuth] Used to specify the authentication parameters that will be used with the proxy specified in the &proxy parameter. (Ex: &proxyAuth=username:password)
374
374
* @param {string} [options.body] Optional HTML markup to pass as POST body
375
375
* @param {string} [options.customJS] This functionality is currently in beta. See docs for details: https://docs.diffbot.com/docs/en/api-video#custom-javascript
376
-
* @param {object} [options.customHeaders] This functionality is currently in beta. See docs for details: https://docs.diffbot.com/docs/en/api-analyze#custom-headers
376
+
* @param {object} [options.customHeaders] This functionality is currently in beta. See docs for details: https://docs.diffbot.com/docs/en/api-video#custom-headers
0 commit comments