Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
ecwid-api-client
Advanced tools
Readme
Strongly typed TypeScript/JS client for the Ecwid REST API.
import {Ecwid} from "ecwid-api-client";
const ecwidConfig = {
apiToken: "secret_12345",
apiStoreId: "123456"
}
const ecwid = new Ecwid(ecwidConfig);
const productSearch = await ecwid.products.getAll();
if (productSearch.total > 0) {
productSearch.items.forEach((product) =>
console.log(product.name));
}
* Ecwid.customers
* add(Partial<Customer>) => CreateStatus
* delete(customerId) => DeleteStatus
* getAll() => SearchResult<Customer> (result.items contains customer array);
* getById(customerId) => Customer
* getByKeyword("keyword") => SearchResult<Customer>
* getByParams({keyword: "keyword"}) => SearchResult<OrderEntry>
* update(Partial<OrderEntry>) => UpdateStatus
* Ecwid.orders
* add(Partial<OrderEntry>) => CreateStatus
* delete(orderId) => DeleteStatus
* getAll() => SearchResult<OrderEntry> (result.items contains OrderEntry array);
* getById(orderId) => OrderEntry
* getByKeyword("keyword") => SearchResult<OrderEntry>
* getByParams({keyword: "keyword"}) => SearchResult<OrderEntry>
* update(Partial<OrderEntry>) => UpdateStatus
* Ecwid.products
* add(Partial<Product>) => CreateStatus
* delete(productId) => DeleteStatus
* getAll() => SearchResult<Product> (result.items contains Product array);
* getById(productId) => Product
* getByKeyword("keyword") => SearchResult<Product>
* getByParams({keyword: "keyword"}) => SearchResult<Product>
* update(Partial<Product>) => UpdateStatus
* Ecwid.producttypes
* add(Partial<ProductType>) => CreateStatus
* delete(ProductTypeId) => DeleteStatus
* getAll() => ProductType[] (result is an array of ProductTypes);
* getById(typeId) => ProductType
* update(Partial<ProductType>) => UpdateStatus
FAQs
TypeScript client for the Ecwid E-commerce REST API
The npm package ecwid-api-client receives a total of 11 weekly downloads. As such, ecwid-api-client popularity was classified as not popular.
We found that ecwid-api-client 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
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.