Skip to content

Commit e211be4

Browse files
Merge branch 'master' of github.com:theRealPadster/diffbot-api-node
2 parents bd3c9ac + 5c7e044 commit e211be4

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,6 @@ Diffbot documentation: https://www.diffbot.com/dev/docs/video/
130130
### Knowledge Graph API
131131
Diffbot documentation: https://docs.diffbot.com/kgapi
132132
```javascript
133-
// Knowledge Graph
134133
let kg = await diffbot.knowledgeGraph({
135134
query: 'type:LocalBusiness location.{country.name:"Canada" city.name:"Ottawa" isCurrent:true}'
136135
});

src/diffbot.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ declare class Diffbot {
4141
* Execute an article API call
4242
* @param {Object} options The search options
4343
* @param {string} [options.url] Web page URL of the article to process (required unless posting plain text)
44-
* @param {string[]} [options.fields] Used to specify optional fields to be returned by the Article API.
44+
* @param {string[]} [options.fields] Used to specify optional fields to be returned by the Article API. See fields: https://www.diffbot.com/dev/docs/article/#fields
4545
* @param {boolean} [options.paging] Pass paging=false to disable automatic concatenation of multiple-page articles. (By default, Diffbot will concatenate up to 20 pages of a single article.)
4646
* @param {number} [options.maxTags] Set the maximum number of automatically-generated tags to return. By default a maximum of ten tags will be returned.
4747
* @param {number} [options.tagConfidence] Set the minimum relevance score of tags to return, between 0.0 and 1.0. By default only tags with a score equal to or above 0.5 will be returned.
@@ -139,7 +139,7 @@ declare class Diffbot {
139139
* Execute a product API call
140140
* @param {Object} options The search options
141141
* @param {string} options.url Web page URL of the product to process
142-
* @param {string[]} [options.fields] Used to specify optional fields to be returned by the Product API.
142+
* @param {string[]} [options.fields] Used to specify optional fields to be returned by the Product API. See fields: https://www.diffbot.com/dev/docs/product/#fields
143143
* @param {boolean} [options.discussion] Pass discussion=false to disable automatic extraction of product reviews.
144144
* @param {number} [options.timeout] Sets a value in milliseconds to wait for the retrieval/fetch of content from the requested URL. The default timeout for the third-party response is 30 seconds (30000).
145145
* @param {string} [options.callback] Use for jsonp requests. Needed for cross-domain ajax.

src/diffbot.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ class Diffbot {
8080
* Execute an article API call
8181
* @param {Object} options The search options
8282
* @param {string} [options.url] Web page URL of the article to process (required unless posting plain text)
83-
* @param {string[]} [options.fields] Used to specify optional fields to be returned by the Article API.
83+
* @param {string[]} [options.fields] Used to specify optional fields to be returned by the Article API. See fields: https://www.diffbot.com/dev/docs/article/#fields
8484
* @param {boolean} [options.paging] Pass paging=false to disable automatic concatenation of multiple-page articles. (By default, Diffbot will concatenate up to 20 pages of a single article.)
8585
* @param {number} [options.maxTags] Set the maximum number of automatically-generated tags to return. By default a maximum of ten tags will be returned.
8686
* @param {number} [options.tagConfidence] Set the minimum relevance score of tags to return, between 0.0 and 1.0. By default only tags with a score equal to or above 0.5 will be returned.
@@ -292,7 +292,7 @@ class Diffbot {
292292
* Execute a product API call
293293
* @param {Object} options The search options
294294
* @param {string} options.url Web page URL of the product to process
295-
* @param {string[]} [options.fields] Used to specify optional fields to be returned by the Product API.
295+
* @param {string[]} [options.fields] Used to specify optional fields to be returned by the Product API. See fields: https://www.diffbot.com/dev/docs/product/#fields
296296
* @param {boolean} [options.discussion] Pass discussion=false to disable automatic extraction of product reviews.
297297
* @param {number} [options.timeout] Sets a value in milliseconds to wait for the retrieval/fetch of content from the requested URL. The default timeout for the third-party response is 30 seconds (30000).
298298
* @param {string} [options.callback] Use for jsonp requests. Needed for cross-domain ajax.

0 commit comments

Comments
 (0)