パッケージ、リポジトリ、アプリカテゴリを検索

パッケージ詳細v4.6.0

woosignal

Dart用のWooCommerce REST API、WooCommerceストアに接続して、APIエンドポイント用のインターフェースを使って開発を始めましょう。

AndroidiOSmacOS
30日間ダウンロード
728
いいね数
63
Pub ポイント
150

パッケージをインストール

flutter pub add woosignal

パッケージ概要

公開情報に基づく選定ガイドです。参考としてご利用ください。

WooSignal は、WooCommerce REST API に対して明確なインターフェースを提供する Dart パッケージであり、開発者が WooCommerce ストアにシームレスに接続し、相互作用できるようにします。製品、注文、顧客などの一般的な API エンドポイントに対して構造化されたメソッドを提供することで、統合を簡素化しています。Flutter アプリ向けに設計されており、Android、iOS、macOS をサポートしており、ECサイトアプリに最適です。複雑な API 呼び出しを直感的な関数に抽象化することで、開発時間を短縮し、信頼性を向上させます。

用途

  • Flutterによる電子商取引アプリの構築
  • WooCommerceストアとの統合
  • プログラムで製品と注文を管理する
  • カスタマーデータの同期
  • WooCommerceを介した支払いの処理
  • リアルタイム在庫の更新

主な機能

  • WooCommerce API エンドポイント用の事前構築メソッド
  • Android、iOS、macOS のサポート
  • セキュアな認証処理
  • flutter pub add で簡単セットアップ
  • 型安全な応答
  • エラー処理とデバッグツール

適している対象

  • eコマースアプリを構築するFlutter開発者
  • 既存の WooCommerce ストアと統合されているチーム
  • WooCommerceへの高速APIアクセスが必要な開発者
  • オンラインマーケットプレイスを立ち上げるスタートアップ
  • プロダクトマネジメントに注力するモバイルアプリ開発者

注意事項

  • REST API が有効な WooCommerce ストアが必要です
  • 適切なAPI資格情報(コンシューマーキー/シークレット)が必要です
  • WooCommerce 固有の機能に限定
  • 高度なユースケースにはカスタムロジックが必要になる場合があります
  • リアルタイム操作にはネットワーク接続に依存します

元の README

関連するソースリポジトリの README 原文のスナップショットです。最新の内容はリポジトリをご覧ください。

WooCommerce API Dart plugin

Official WooSignal WooCommerce package

Build apps for WooCommerce easier with our new package. Our API provides many requests types e.g. getProducts, getOrders and many more. Free to get started, see the simple examples below.

For help getting started with WooSignal, view our online documentation, which offers a more detail guide.

Getting Started

In your flutter project add the dependency:

dependencies:
  ...
  woosignal: ^4.4.0
Usage example

Import woosignal.dart

import 'package:woosignal/woosignal.dart';
Example using WooSignal API for WooCommerce
import 'package:woosignal/woosignal.dart';

...

// EXAMPLE GET PRODUCTS
_getProducts() async {

        // Step 1 - Initialize WooSignal
        await WooSignal.instance.init(appKey: "your app key");

        // Step 2 - Call an API
        List<Product> products = await WooSignal.instance.getProducts();

        print(products[0].name); // prints a product name
  });
}
Available API Requests
WooCommerce - Products
  • Get Products
  • Retrieve a Product by id
  • Update a Product by id
  • Delete a Product by id
  • Create a Product
  • Batch update Products

See Products API

WooCommerce - Product Variations
  • Get Product Variations
  • Retrieve a Product Variation by id

See Product Variations API

WooCommerce - Product Attributes
  • Get Product Attributes

See Product Attributes API

WooCommerce - Products Attribute Terms
  • Get Products Attribute Terms

See Products Attribute Terms API

WooCommerce - Product Categories
  • Get Product Categories

See Product Categories API

WooCommerce - Products Shipping Classes
  • Get Products Shipping Classes

See Products Shipping Classes API

WooCommerce - Product Reviews
  • Get Product Reviews

See Product Reviews API

WooCommerce - Tax Rates
  • Get Tax Rates

See Tax Rates API

WooCommerce - Tax Classes
  • Get Tax Classes

See Tax Classes API

WooCommerce - Shipping Zones
  • Get Shipping Zones
  • Retrieve a Shipping Zone by id

See Tax Classes API

WooCommerce - Shipping Zone Locations
  • Get Shipping Zone Locations
  • Retrieve a Shipping Zone Location by id

See Shipping Zone Locations API

WooCommerce - Shipping Methods
  • Get Shipping Methods

See Shipping Methods API

WooCommerce - Orders
  • Get Orders
  • Retrieve a Order by id
  • Create an Order
  • Update an Order
  • Batch update Orders

See Order API

WooCommerce - Customers
  • Get Customers
  • Create a Customer
  • Delete a Customer
  • Update a Customer
  • Batch update Customers

See Customers API

WooCommerce - API Orders Notes
  • List all Orders Notes
  • Retrieve a Orders Notes by id
  • Delete a Orders Notes by id
  • Create a Orders Notes

See Orders Notes API

WooCommerce - Refunds
  • Get refunds from an order id
  • Retrieve a retrieve and view a specific refund from an order
  • Delete a delete an order refund.
  • Create a new refund for an order

See Refunds API

WooCommerce - Coupons
  • Get all coupons.
  • Retrieve and view a specific coupon by ID
  • Update a coupon.
  • Delete a coupon.
  • Batch update Coupons.

See Coupons API

WooCommerce - Reports
  • Get Reports
  • Retrieve a report of Sales
  • Retrieve a report of Top Sellers
  • Retrieve a report of the Total Coupons
  • Retrieve a report of the Total Customers
  • Retrieve a report of the Total Orders
  • Retrieve a report of the Total Products
  • Retrieve a report of the Total Reviews

See Reports API

WooCommerce - Data
  • Retrieve a list of available data endpoints.
  • Get continents.
  • Retrieve continent data.
  • Get countries.
  • Retrieve country data.
  • Get currencies.
  • Retrieve currency data.
  • Retrieve current currency data.

See Data API

WooCommerce - System Status
  • Get System Status Items

See System Status API

WooCommerce - Payment gateways
  • Retrieve a Payment Gateway by id
  • Get all the Payment Gateways
  • Update a Payment Gateway

See Payment gateways API

WooCommerce - Setting options
  • Retrieve a specific Setting Option
  • Get all the Setting Options
  • Update a Setting Option by id
  • Batch update Setting Options

See Setting options API

Disclaimer: This plugin is not affiliated with or supported by Automattic, Inc. All logos and trademarks are the property of their respective owners.

カテゴリー

依存関係

依存関係一覧 4 件

ソースリポジトリ

このパッケージを使用しているプロジェクト