Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

yurtici-kargo-react

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

yurtici-kargo-react

This package provides an integration with the Yurtici Cargo web services for React and TypeScript projects. It allows you to create shipments and handle responses from the Yurtici Cargo API.

  • 1.0.1
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

Yurtici Kargo React (framework entegration package)

Yurtici Cargo React/TS Integration Package This package provides integration with Yurtici Cargo's web services for React and TypeScript projects. It facilitates the creation of shipments and handling responses from the Yurtici Cargo API.

1-Step install the package

npm i yurtici-kargo-react

2-Usage of package

import { YurticiKargo, ShipmentData } from "yurtici-kargo-react";

  const shipmentData: ShipmentData = {
  cargoKey: body.cargoKey, //You can update the values ​​here according to your own code.
  invoiceKey: body.invoiceKey, //You can update the values ​​here according to your own code.
  receiverCustName: body.receiverCustName, //You can update the values ​​here according to your own code.
  receiverAddress: body.receiverAddress, //You can update the values ​​here according to your own code.
  cityName: body.cityName, //You can update the values ​​here according to your own code.
  townName: body.townName, //You can update the values ​​here according to your own code.
  receiverPhone1: body.receiverPhone1, //You can update the values ​​here according to your own code.
  emailAddress: body.emailAddress, //You can update the values ​​here according to your own code.
  orgReceiverCustId: body.orgReceiverCustId, //You can update the values ​​here according to your own code.
};

const yurticiKargo = new YurticiKargo({ testMode: true }); // test mode active or not
const result = await yurticiKargo.createShipment(shipmentData);

console.log("result", result);  // you can check response here

WARNING

This package is not affiliated with "Yurtiçi Kargo " It has been developed voluntarily by a software developer.

Contact:https://github.com/quardianwolf or info@atilla.dev

Keywords

FAQs

Package last updated on 05 Jun 2024

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc