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

signrequest-client

v1.1.1

Published

API client for SignRequest.com

Downloads

1,354

Readme

signrequest-client

SignrequestClient - JavaScript client for SignRequest.com

npm version

Installation

For Node.js

npm

Then install it via:

npm install signrequest-client --save

Webpack Configuration

Using Webpack you may encounter the following error: "Module not found: Error: Cannot resolve module", most certainly you should disable AMD loader. Add/merge the following section to your webpack config:

module: {
  rules: [
    {
      parser: {
        amd: false
      }
    }
  ]
}

API Documentation

Full API documentation, including code samples, can be found here: https://signrequest.com/api/v1/docs/

Getting Started

Please follow the installation instruction and execute the following JS code:

var SignrequestClient = require('signrequest-client');

var defaultClient = SignrequestClient.ApiClient.instance;

// Configure API key authorization: Token
var Token = defaultClient.authentications["Token"];
Token.apiKey = "YOUR API KEY";
Token.apiKeyPrefix = "Token";

var api = new SignrequestClient.DocumentsApi();

var data = new SignrequestClient.Document();
data.file_from_url =
  "https://docs.google.com/document/d/1oI2R1SxfMNZXiz3jCQvorpoklF9xq_dCJnOpkI-zo80/edit?usp=sharing";

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log("API called successfully. Returned data: " + data);
  }
};

api.documentsCreate(data, callback);

Documentation for API Endpoints

All URIs are relative to https://signrequest.com/api/v1

Class | Method | HTTP request | Description ------------ | ------------- | ------------- | ------------- SignrequestClient.ApiTokensApi | apiTokensList | GET /api-tokens/ | Retrieve a list of API tokens SignrequestClient.DocumentAttachmentsApi | documentAttachmentsCreate | POST /document-attachments/ | Create a Document Attachment SignrequestClient.DocumentAttachmentsApi | documentAttachmentsList | GET /document-attachments/ | Retrieve a list of Document Attachments SignrequestClient.DocumentAttachmentsApi | documentAttachmentsRead | GET /document-attachments/{uuid}/ | Retrieve a Document Attachment SignrequestClient.DocumentsApi | documentsCreate | POST /documents/ | Create a Document SignrequestClient.DocumentsApi | documentsDelete | DELETE /documents/{uuid}/ | Delete a Document SignrequestClient.DocumentsApi | documentsList | GET /documents/ | Retrieve a list of Documents SignrequestClient.DocumentsApi | documentsRead | GET /documents/{uuid}/ | Retrieve a Document SignrequestClient.DocumentsSearchApi | documentsSearchList | GET /documents-search/ | Search documents SignrequestClient.EventsApi | eventsList | GET /events/ | Retrieve a list of Events SignrequestClient.EventsApi | eventsRead | GET /events/{id}/ | Retrieve an Event SignrequestClient.SignrequestQuickCreateApi | signrequestQuickCreateCreate | POST /signrequest-quick-create/ | Quick create a SignRequest SignrequestClient.SignrequestsApi | signrequestsCancelSignrequest | POST /signrequests/{uuid}/cancel_signrequest/ | Cancel a SignRequest SignrequestClient.SignrequestsApi | signrequestsCreate | POST /signrequests/ | Create a SignRequest SignrequestClient.SignrequestsApi | signrequestsList | GET /signrequests/ | Retrieve a list of SignRequests SignrequestClient.SignrequestsApi | signrequestsRead | GET /signrequests/{uuid}/ | Retrieve a SignRequest SignrequestClient.SignrequestsApi | signrequestsResendSignrequestEmail | POST /signrequests/{uuid}/resend_signrequest_email/ | Resend a SignRequest SignrequestClient.TeamMembersApi | teamMembersList | GET /team-members/ | Retrieve a list of Team Members SignrequestClient.TeamMembersApi | teamMembersRead | GET /team-members/{uuid}/ | Retrieve a Team Member SignrequestClient.TeamsApi | teamsCreate | POST /teams/ | Create a Team SignrequestClient.TeamsApi | teamsDelete | DELETE /teams/{subdomain}/ | Delete a Team SignrequestClient.TeamsApi | teamsInviteMember | POST /teams/{subdomain}/invite_member/ | Invite a Team Member SignrequestClient.TeamsApi | teamsList | GET /teams/ | Retrieve a list of Teams SignrequestClient.TeamsApi | teamsPartialUpdate | PATCH /teams/{subdomain}/ | Update a Team SignrequestClient.TeamsApi | teamsRead | GET /teams/{subdomain}/ | Retrieve a Team SignrequestClient.TemplatesApi | templatesList | GET /templates/ | Retrieve a list of Templates SignrequestClient.TemplatesApi | templatesRead | GET /templates/{uuid}/ | Retrieve a Template SignrequestClient.WebhooksApi | webhooksCreate | POST /webhooks/ | Create a Webhook SignrequestClient.WebhooksApi | webhooksDelete | DELETE /webhooks/{uuid}/ | Delete a Webhook SignrequestClient.WebhooksApi | webhooksList | GET /webhooks/ | Retrieve a list of Webhooks SignrequestClient.WebhooksApi | webhooksPartialUpdate | PATCH /webhooks/{uuid}/ | Partially update a Webhook SignrequestClient.WebhooksApi | webhooksRead | GET /webhooks/{uuid}/ | Retrieve a Webhook SignrequestClient.WebhooksApi | webhooksUpdate | PUT /webhooks/{uuid}/ | Update a Webhook

Documentation for Models

Documentation for Authorization

Token

  • Type: API key
  • API key parameter name: Authorization
  • Location: HTTP header