Skip to content

Node.js with express, request, and plates, to pull a query back from the Bing API and display the results

Notifications You must be signed in to change notification settings

tgig/Node.js-for-Bing-API

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Use node.js and express and request to call Bing API

  • Node.js is the language
  • Express displays the web page
  • Request gets the data
  • Plates handles template

Just a simple example to call the (new) Bing API at

https://api.datamarket.azure.com/Bing/SearchWeb/v1/Web


Config.js is not included in this repo, but it looks like this:

var config = {};
config.BingAPI = {};

config.BingAPI.url = 'https://api.datamarket.azure.com/Bing/SearchWeb/v1/Web?$format=json&Query=';
config.BingAPI.key = '[account key goes here]';

module.exports = config;

About

Node.js with express, request, and plates, to pull a query back from the Bing API and display the results

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published