theRealPadster / diffbot-api-node

Diffbot-API-Node is a Promise-based library to use the Diffbot REST APIs
MIT License
3 stars 2 forks source link

Add support for custom JS and headers in more APIs #12

Closed theRealPadster closed 2 years ago

theRealPadster commented 3 years ago

When I added Event API support, I noticed the docs mentioned custom JS. It looks like the Video API also supports it, and likely others. Look into this and integrate better.

https://docs.diffbot.com/docs/en/api-video#custom-http-headers-and-javascript

theRealPadster commented 3 years ago

Would this be the same implementation for the customHeaders param used in the Crawlbot API? https://docs.diffbot.com/docs/en/api-crawlbot-api

theRealPadster commented 3 years ago

Added support for customJS in most of the APIs in 91389dbb9f075c257e1dc0817f72404fbcd4d4d2

Looks like I still have Crawlbot left (and maybe others)

theRealPadster commented 2 years ago

Added support for customJS in all standard objects. Crawlbot still doesn't because it uses a query string instead of headers.