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

generator-cloud-elements-postman

v0.2.10

Published

Cloud Elements API Platform Postman Collection and Environment Configuration generator

Downloads

4

Readme

CE Platform API Postman Generator

Yeoman generator

NPM

cloud-elements-postman is a Yeoman generator that creates a Postman Collection and Environment Configuration which contains Cloud Elements Platform API calls that demonstrate the usage of the Cloud Elements Platform.

Usage

First, install Yeoman and cloud-elements-postman using npm (we assume you have pre-installed node.js).

npm install -g yo
npm -g install generator-cloud-elements-postman

Either use yo directly and choose Cloud Elements Postman from the menu or, directly, via yo cloud-elements-postman from the command-line.

In addition, you can optionally specify a distinct name for the Postman Collection via an argument: yo cloud-elements-postman NAME

This will generate two files in the current directory:

  • CloudElementsAPIs-.postman_collection.json
  • CloudElementsAPIs-.postman_environment.json

At this time, the collection contains only the following API calls:

  • List accounts GET /accounts
  • Create account POST /accounts
  • List users GET /users
  • Create element instance POST /instances
  • List instances GET /instances
  • List files GET /files
  • List accounts GET /hubs/crm/accounts

Known Issues

For POST /accounts and /POST instances, the Postman Collection contains examples, but upon import, the JSON bodies for these examples are lost. Ref Postman issue 2769. You can see these example JSON bodies in the example_requests directory.

Importing the .postman_environment.json file from the main Postman Import shows an error "Failed to import data: Could not import: TypeError: Cannot read property 'id' of null" but still imports the environment configuration without error. Importing the environment via the Manage Environments dialog Import shows no such error. This error can be ignored.

Future

The yeoman generator will provide a more full list of Cloud Elements Platform APIs to choose from in order to customize the Postman Collection. For the full list of APIs, please see the Cloud Elements Documentation.

Developing

See Development notes for notes on how to contribute to this Yeoman generator.