npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

tradly

v1.1.68

Published

Tradly JS SDK

Downloads

674

Readme

Tradly helps developers / non technical founders with low-code/no-code solution to launch marketplaces, Ecosystem for SaaS and commerce apps.

Saving your time

Whether you want simple things like catalog creation or configure complex revenue models, we made it simple and easy to configure through our SuperAdmin. Starter kits to develop apps. Not just that, and design system is coming soon.

Giving you peace of mind

You do not worry about the backend performance, security, upgrades. Our engineers take care of this. Plus optionally marketing tools integration coming up. So, you can focus on growing your business whether it’s a thousand or a million users.

Saving your cost at every stage

Whether you are starting a simple B2C website. Or have a dream to expand into omnichannel with multiple stores and multiple sales channels(Kiosk, app, etc). We have got the modular and flexible technology ready. All this charged fair when you grow.

Getting Started

Read the Getting Started tutorial or follow the steps below:

⏳ Installation

Install Tradly with this Quickstart command to create a Tradly project instantly:

  • (Use npm/npx to install the Tradly project.)
npx i tradly

Usage example

// App.ts
import TradlySDK from 'tradly';

//Initialization 
TradlySDK.init.config({token:'',environment:'sandbox'})

// Get Response 
const [error, responseJson]  = await TradlySDK.app.getCategory({bodyParam:{'type':'listings'},authKey:'authkey'})

Enjoy 🎉

🖐 Requirements

Complete installation requirements can be found in the documentation under Installation Requirements .

Methods

USER Module

| Name | Function | |:---|:---| | Login | user.login({data:JSON}) | | Register | user.register({data:JSON}) | | Verify | user.verify({data:JSON}) | | Resend OTP | user.resendOTP({data:JSON}) | | ForgotPassword | user.forgotPassword({data:JSON}) |

APP Module

| Name | Function | |:---|:---| | Config List | app.getConfigList({paramBody:'',authKey:''}) | | Device Info | app.updateDeviceInfo({authKey:'',data:JSON}) | | User Info | app.updateUserInfo({authKey:'',data:JSON}) | | Get Languages | app.getLanguages({authKey:''}) | | Add Edit Address | app.addEditAddress({authKey:'',id:'',data:JSON}) | | Get Address | app.getAddress({authKey:'',bodyParam:JSON}) | | Delete Address | app.deleteAddress({authKey:'',id:''}) | | Add Edit Accounts | app.postAccounts({authKey:'',id:'',data:JSON}) | | Get Accounts | app.getAccounts({authKey:'',bodyParam:JSON}) | | Get Accounts Detail | app.getAccountDetail({authKey:'',id:''}) | | Delete Accounts | app.deleteAddress({authKey:'',id:''}) | | Follow UnFollow Accounts | app.followUnfollowAccounts({authKey:'',id:'',isFollowing:Bool}) | | Block Accounts | app.blockAccount({authKey:'',id:'',isBlocked:Bool}) | | Report Accounts | app.reportAccount({authKey:'',id:'',data:JSON}) | | Get Listings | app.getListings({authKey:'',bodyParam:JSON}) | | Get Listings Detail | app.getListingDetail({authKey:'',id:''}) | | Delete Listings | app.deleteListing({authKey:'',id:''}) | | Add Edit Listings | app.postListing({authKey:'',id:'',data:JSON}) | | Like Unlike Listings | app.likeListing({authKey:'',id:'',isLiked:Bool}) | | Get Variants | app.getVariants({authKey:''}) | | Add Edit Variants | app.addEditVariants({authKey:'',listingId:'',id:'',data:JSON}) | | Delete Variants | app.deleteVariant({authKey:'',listingId:'',id:''}) | | Get Variants Types | app.getVariantTypes({authKey:''}) | | Add Edit Variants Types | app.addEditVariantsTypes({authKey:'',id:'',data:JSON}) | | Delete Variants Types | app.deleteVariantType({authKey:'',id:''}) | | Get Variants Types Values | app.getVariantTypeValues({authKey:'',id:''}) | | Get Variants Types Values Detail | app.getVariantTypeValuesDetail({authKey:'',id:'',valueID:''}) | | Add Edit Variants Types Values | app.addEditVariantTypeValues({authKey:'',id:'',valueID:'',data:JSON}) | | Delete Variants Types Values | app.deleteVariantTypeValues({authKey:'',id:'',valueID:''}) | | Get Category | app.getCategory({authKey:'',bodyParam:JSON}) | | Add Edit Category | app.addEditCategory({authKey:'',id:'',data:JSON}) | | Delete Category | app.deleteCategory({authKey:'',id:''}) | | Get Attribute | app.getAttribute({authKey:'',bodyParam:JSON}) | | Add Edit Attribute | app.addEditAttribute({authKey:'',id:'',data:JSON}) | | Delete Attribute | app.deleteAttribute({authKey:'',id:''}) | | Get Attribute Values | app.getAttributeValues({authKey:'',id:''}) | | Get Attribute Values Detail | app.getAttributeValuesDetail({authKey:'',id:'',valueID:''}) | | Add Edit Attribute Values | app.addEditAttributeValues({authKey:'',id:'',data:JSON,valueID:''}) | | Delete Attribute Values | app.deleteAttributeValues({authKey:'',id:'',valueID:''}) | | Get Cart | app.getCarts({authKey:'',bodyParam:JSON}) | | Add Cart | app.addToCart({authKey:'',data:JSON}) | | Delete Cart | app.deleteFromCart({authKey:'',data:JSON}) | | Delete All Cart Detail | app.deleteAllCartDetail({authKey:''}) | | Checkout | app.checkout({authKey:'',data:JSON,currency:''}) | | Listing Direct Checkout | app.listingDirectCheckout({authKey:'',id:'',data:JSON,currency:''}) | | Get Ephemeral Key | app.getEphemeralKey({authKey:'',id:'',data:JSON}) | | Get Payment Intent Key | app.getPaymentIntentKey({authKey:'',id:'',data:JSON}) | | Get Orders | app.getOrders({authKey:'',bodyParam:JSON}) | | Get Orders Detail | app.getOrderDetail({authKey:'',id:''}) | | Update Orders Status | app.updateOrderStatus({authKey:'',data:JSON}) | | Update Orders Detail | app.updateOrderDetail({authKey:'',data:JSON}) | | Get Reviews | app.getReviewList({authKey:'',bodyParam:JSON}) | | Add Reviews | app.addReview({authKey:'',data:JSON}) | | Like UnLike Reviews | app.likeReview({authKey:'',data:JSON}) | | Get Payment Methods | app.getPaymentMethods({authKey:''}) | | Get Shipping Methods | app.getShippingMethods({authKey:''}) | | Get Currency | app.getCurrency({authKey:''}) | | Add Edit Currency | app.addEditCurrency({authKey:'',id:'',data:JSON}) | | Delete Currency | app.deleteCurrency({authKey:'',id:''}) | | Get Collection | app.getCollection({authKey:''}) | | Get Collection Detail | app.getCollectionDetail({authKey:'',id:''}) | | Add Edit Collection | app.addEditCollection({authKey:'',id:'',data:JSON}) | | Delete Collection | app.deleteCollections({authKey:'',id:''}) | | Get Promo Banner | app.getPromoBanner({authKey:'',bodyParam:JSON}) | | Add Edit Promo Banner | app.addPromoBanner({authKey:'',id:'',data:JSON}) | | Delete Promo Banner | app.deletePromoBanner({authKey:'',id:''}) | | Get Transactions | app.getTransactions({authKey:'',bodyParam:JSON}) | | Get Earning | app.getEarning({authKey:'',bodyParam:JSON}) |

See more on our website.

Community support

For general help using Tradly, Join our the official Tradly Forum.

Documentation

SDK Documentation coming soon. For now, refer API reference (https://developer.tradly.app)