Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var needle = require("needle");
- var startIdx = 11059000;
- var stopIdx = 11211109;
- for(idx = startIdx; idx < stopIdx; idx++)
- {
- needle('get', "https://api.companieshouse.gov.uk/company/"+idx, {
- username: key,password:""
- })
- .then(function(data) {
- })
- .catch(function(err) {
- console.log('Call the locksmith!' + err)
- })
- }
Add Comment
Please, Sign In to add comment