All Projects → yebo-ecommerce → Js Sdk

yebo-ecommerce / Js Sdk

Licence: mit
A bridge between the Yebo E-Commerce and your website.

Programming Languages

javascript
184084 projects - #8 most used programming language

Labels

Projects that are alternatives of or similar to Js Sdk

Win Php Sdk Builder
build a php-sdk environment on Win
Stars: ✭ 19 (+90%)
Mutual labels:  sdk
Svrf Ios Sdk
iOS SDK for the Svrf API and ARKit Face Filters
Stars: ✭ 24 (+140%)
Mutual labels:  sdk
Kudo
Kubernetes Universal Declarative Operator (KUDO)
Stars: ✭ 849 (+8390%)
Mutual labels:  sdk
Realtime Sdk Flutter
LeanCloud Flutter Plugin SDK
Stars: ✭ 22 (+120%)
Mutual labels:  sdk
Httpdoc
基于Java标准doc注释构建的代码零侵入的HTTP RESTful API在线测试,文档阅览以及SDK导出框架,支持Spring-Boot和Spring-MVC
Stars: ✭ 23 (+130%)
Mutual labels:  sdk
Pyintelowl
Robust Python SDK and Command Line Client for interacting with IntelOwl's API.
Stars: ✭ 26 (+160%)
Mutual labels:  sdk
Circuit Sdk
JavaScript and Node.js SDK for Circuit
Stars: ✭ 18 (+80%)
Mutual labels:  sdk
T1 Node
Node SDK for MediaMath Platform APIs
Stars: ✭ 9 (-10%)
Mutual labels:  sdk
Pagarme Laravel
Pagar.me SDK for Laravel applications.
Stars: ✭ 23 (+130%)
Mutual labels:  sdk
Newbe.mahua.framework
本SDK为实现QQ机器人平台的大一统,支持多种机器人平台:酷Q、MyPCQQ、QQLight等
Stars: ✭ 849 (+8390%)
Mutual labels:  sdk
Itext7
iText 7 for Java represents the next level of SDKs for developers that want to take advantage of the benefits PDF can bring. Equipped with a better document engine, high and low-level programming capabilities and the ability to create, edit and enhance PDF documents, iText 7 can be a boon to nearly every workflow.
Stars: ✭ 913 (+9030%)
Mutual labels:  sdk
Libra Sdk Go
Go SDK for the Libra cryptocurrency
Stars: ✭ 23 (+130%)
Mutual labels:  sdk
Mixpanel Iphone
iPhone tracking library for Mixpanel Analytics
Stars: ✭ 939 (+9290%)
Mutual labels:  sdk
Mixpanel Android
Official Mixpanel Android SDK
Stars: ✭ 907 (+8970%)
Mutual labels:  sdk
Weixinmpsdk
微信全平台 SDK Senparc.Weixin for C#,支持 .NET Framework 及 .NET Core、.NET 6.0。已支持微信公众号、小程序、小游戏、企业号、企业微信、开放平台、微信支付、JSSDK、微信周边等全平台。 WeChat SDK for C#.
Stars: ✭ 7,098 (+70880%)
Mutual labels:  sdk
Android Sdk
Beaconstac ADVANCED SDK for Android devices
Stars: ✭ 18 (+80%)
Mutual labels:  sdk
Brfv4 mac examples
macOS C++ examples utilizing OpenCV for camera access and drawing the face tracking results.
Stars: ✭ 25 (+150%)
Mutual labels:  sdk
Vst3sdk
VST 3 Plug-In SDK
Stars: ✭ 853 (+8430%)
Mutual labels:  sdk
Node Sdk
An SDK implementation in JS (Node) for the v3 REST APIs.
Stars: ✭ 9 (-10%)
Mutual labels:  sdk
Aliyun Openapi Python Sdk
Alibaba Cloud SDK for Python
Stars: ✭ 840 (+8300%)
Mutual labels:  sdk

Yebo SDK (1.0) Build Status

This library is the easiest way to connect with Yebo API, it intends to be more functional as possible.

IMPORTANT: If you were using the older versions(v0) this is a complete rewrite of the library.

OBS: This SDK is not complete and it is under a heavy development, some resources are not ready yet.

Documentation

Its planned to create a simple guide website (like Vue.js one)

Usage

First, install the NPM package with npm i --save yebo_sdk, after install you could follow two ways (depending in your project structure):

  • If you're using ES6 transpilers(like Babel) you could just import the SDK functions and starts using it:
    • Example: import { getProducts } from 'yebo_sdk';
  • If your project is simple ES5 there are two files in the dist/ folder that you will add to your project.

After installing, you need to configure the SDK to your store. This is made by setting your store to the SDK:

import { set } from 'yebo-sdk';
set('store', 'store-name');
// or...
yebo.set('store', 'store-name');

Architecture

The module functions exports to types of methods: a build and a execution, the first is followed by the prefix buildGetProducts, and the second does not have any prefix getProducts. The difference between them is that the build will just generate an Object with the request options, while the second will generate these options and execute the request.

// Import
import { getProducts } from 'yebo_sdk';

// Getting products
getProducts({}).then((res) => {
  // Print the response
  console.log(res);
});

This library is divided in two parts the core and the modules:

Core

Common funcitons and (literally) the connection with Yebo, with this part is possible to make any interaction with the API.

Modules

These part is more developer friendly, its idea is to provide a transparent and easy way to access the API resources(like: products, orders, etc...).

CURRENT MODULES:

  • Products
  • Orders
  • Users
  • Checkout
  • Cart
  • Taxons

PLANNED MODULES:

  • Addresses
    • Countries
    • States
  • Plugins
    • Plugins will, probably, live in different repositories.

Contribution

Please make sure to read the Contributing Guide before making a pull request.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].