Security News
OpenJS: “XZ Utils Cyberattack Likely Not an Isolated Incident”
OpenJS is warning of social engineering takeovers targeting open source projects after receiving a credible attempt on the foundation.
israel-postal-service-api
Advanced tools
Weekly downloads
Readme
An API for Israel postal service - query shipment price easily. Supports both NodeJS and browser environments.
npm install --save israel-postal-service-api
import { IPS, Options } from 'israel-postal-service-api';
// define package shipment characteristics
let weightInGrams = 20;
let serviceType = Options.AbroadMailOptions.LETTER.shipmentType;
let serviceSubtype = Options.AbroadMailOptions.LETTER.shipmentSubtypes.regular;
let option = serviceSubtype.options.signed;
// initialize service
let postalService = new IPS();
// calculate package shipping rate asynchronously
let response = await postalService.calculateAbroadShippingRate(
"Spain", weightInGrams, serviceType, serviceSubtype, option);
// see {@class ResponseParser} API to discover the response structure
console.log(response.getTotalPrice());
If you're having any problem, please raise an issue on GitHub and we'll be happy to help.
Before submitting a pull request, please make sure that you include tests, and that jshint runs without any warnings: Download VSCode extension.
Run the test suite by executing:
$ npm test
Note: This API was create as an open source service for makers and entrepreneurs. This is not an official API for Israel Post service.
Author: Benny Megidish.
FAQs
Israel postal office pricing calculator
The npm package israel-postal-service-api receives a total of 3 weekly downloads. As such, israel-postal-service-api popularity was classified as not popular.
We found that israel-postal-service-api 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.
Security News
OpenJS is warning of social engineering takeovers targeting open source projects after receiving a credible attempt on the foundation.
Company News
Come meet the Socket team at BSidesSF and RSA! We're sponsoring several fun networking events and we would love to see you there.
Security News
OSI is starting a conversation aimed at removing the excuse of the SaaS loophole for companies navigating licensing and the complexities of doing business with open source.