
Product
Socket Firewall Now Blocks Malicious VS Code and Open VSX Extensions
Socket Firewall blocks malicious VS Code and Open VSX extensions before install, protecting developers from compromised editor marketplaces.
hologram-node
Advanced tools
Holograms API client library for node.js
npm install hologram-node --save
var Hologram = require('hologram-node');
var HologramAPI = Hologram("Your API key from the dashboard", {
orgid: "Your orgId from the dashboard"
});
.then((data) => {}).catch((error) => {})
var Hologram = require('hologram-node');
var HologramAPI = Hologram("Your API key from the dashboard", {
orgid: "Your orgId from the dashboard"
});
HologramAPI.Devices.getAll().then((devices) => {
console.log(devices);
});
HologramAPI.Devices.getOne("123").then((devices) => {
console.log(device);
});
HologramAPI.Account.me().then((accountInfo) => {
console.log(accountInfo);
});
HologramAPI.Account.me()
Gets current user information.
HologramAPI.Account.getBalance()
Retreive the current amount of credit you have on your account.
HologramAPI.Account.getBalanceHistory()
Retreive a history of transactions (credits and charges).
HologramAPI.Account.getBillingInfo()
Retreive the truncated version of your selected payment method.
HologramAPI.Account.getOrders()
Retreive the orders you have placed.
HologramAPI.Account.addBalance(amountToAdd)
Charge the user's configured billing source and add that amount to your account balance.
Required:
HologramAPI.Activate.getPlans()
The Data Plans endpoints return pricing and descriptions for the different data plans that Hologram offers. When changing the data plan for a cellular link via API, you must refer to the plan by its ID, which you can determine from these endpoints.
HologramAPI.Activate.getPlan(planId)
Required:
HologramAPI.Activate.preview(sims, plan, zone, useAccountBalance)
Preview the price and validity of an activation
Required:
HologramAPI.Activate.activate(sims, plan, zone, useAccountBalance)
Activate the selected sims. Charges your configured billing method.
Required:
HologramAPI.Device.getOne(deviceid)
Get one of your devices.
Required:
HologramAPI.Device.getAll([options])
Options:
HologramAPI.Device.getRouterCreds(deviceid)
Required:
HologramAPI.Device.genRouterCreds(deviceid)
Required:
HologramAPI.Device.linkTag(tagid, deviceids)
Required:
HologramAPI.Device.unlinkTag(tagid, deviceids)
Required:
HologramAPI.Device.changeName(deviceid, name)
Required:
HologramAPI.Device.sendSMS(deviceid, message, [options])
Required:
Options:
HologramAPI.Device.sendData(deviceids, data, port, protocol)
Send a TCP or UDP message to one or more devices on the Hologram network. See the guide for details.
Required:
HologramAPI.Device.sendDataViaWebhook(deviceid, webhookguid, data)
This endpoint does not require authentication with your API key, as the webhook GUID serves as an authentication token. In order to generate a webhook URL, please visit the cloud configuration page for your device.
Required:
HologramAPI.Device.getPhoneNumberCost(deviceid, country, [options])
Required:
Options:
HologramAPI.Device.addPhoneNumber(deviceid, country, [options])
Required:
Options:
HologramAPI.Device.removePhoneNumber(deviceid)
Required:
HologramAPI.Device.setTunnelable(deviceid, tunnelable)
Required:
HologramAPI.Link.getAll()
HologramAPI.Link.getOne(linkId)
Required:
HologramAPI.Link.getUsage(linkid)
Required:
HologramAPI.Link.pause(linkid)
Required:
HologramAPI.Link.resume(linkid)
Required:
HologramAPI.Link.setOverageLimit(linkId, limit)
Required:
HologramAPI.Link.getStatusHistory(linkId)
Required:
HologramAPI.Link.changePlanPreview(linkid, planid, zone)
Preview costs and information of changing a links plan .
Required:
HologramAPI.Link.changePlan(linkid, planid, zone)
Change the plan of a selected cellular link. Charges your user balance.
Required:
HologramAPI.Log.getAll([options])
Options:
HologramAPI.Log.getForDevice(deviceid)
Required:
HologramAPI.Org.getAll()
List all organizations that you are a member of. This includes the special "personal" organization tied to your user.
HologramAPI.Org.getOne(orgid)
Required:
HologramAPI.Org.getPending()
HologramAPI.Report.billing()
HologramAPI.Report.devices()
HologramAPI.Tag.getAll()
HologramAPI.Tag.create(name)
Required:
HologramAPI.Tag.update(tagId, name)
Required:
HologramAPI.Tag.remove(tagId)
Required:
HologramAPI.Webhook.get(deviceid)
Required:
HologramAPI.Webhook.create(deviceid, port, protocol)
Required:
HologramAPI.Webhook.update(deviceid, port, protocol)
Required:
HologramAPI.Webhook.regenerate(deviceid)
Required:
HologramAPI.Webhook.remove(deviceid)
Required:
FAQs
Holograms API client library for node.js
We found that hologram-node 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
Socket Firewall blocks malicious VS Code and Open VSX extensions before install, protecting developers from compromised editor marketplaces.

Research
More than 140 Mastra npm packages were compromised in a supply chain attack that used a typosquatted dependency to deliver a cross-platform infostealer during installation.

Research
/Security News
A new npm package tests AI malware scanners with prompt injection, safety-triggering comments, context flooding, and obfuscated JavaScript.