
Product
Introducing Webhook Events for Alert Changes
Add real-time Socket webhook events to your workflows to automatically receive software supply chain alert changes in real time.
This library allows you to make requests easily.
const GetYourBit = require('getyourbit');
const api = new GetYourBit.Api('https://ip.getyourbit.com');
api.auth('login', 'password').then(() => {
return api.request('/lookup/8.8.8.8/');
})
.then((body) => {
return api.request('/me/', {locale: 'en-US'}).then((body) => {
console.log(body.data);
});
})
.then((res) => {
return api.scroll('/find/', {
size: 500,
query: {
country: 'nepal'
}
}, (body, chunkData, fullData) => {
console.log(chunkData.length);
});
})
.then((fullData) => {
console.log(fullData.length);
return api.logout();
})
.catch((err) => {
console.error(err);
});
Login to the API. You can get login and password on the site after a subscription.
options is request module options.
Free services don't require authorization.
Logout from the API. It gives an error without authorization before.
Request to the API without scrolling to get data.
It returns all response body as object.
Request to the API with scrolling to get data. You can pass callback to control every chunk. You will get three arguments:
It returns the full data at the end
FAQs
Getyourbit.com client
The npm package getyourbit receives a total of 1 weekly downloads. As such, getyourbit popularity was classified as not popular.
We found that getyourbit demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Product
Add real-time Socket webhook events to your workflows to automatically receive software supply chain alert changes in real time.

Security News
ENISA has become a CVE Program Root, giving the EU a central authority for coordinating vulnerability reporting, disclosure, and cross-border response.

Product
Socket now scans OpenVSX extensions, giving teams early detection of risky behaviors, hidden capabilities, and supply chain threats in developer tools.