1.1.1 • Published 5 years ago

@persephony/sdk v1.1.1

Weekly downloads
-
License
MIT
Repository
github
Last release
5 years ago

Introduction

The Persephony Javascript SDK will allow you to easily use the Persephony API in a Javascript application.

Build Status npm version Maintainability Test Coverage Documentation Status

Installation

npm install @persephony/sdk --save

yarn add @persephony/sdk

Testing your Installation

Test the SDK is working by sending yourself a text message.

var persephonySDK = require('@persephony/sdk')
var accountID = 'your_account_id'
var authToken = 'your_auth_token'
var persy = persephonySDK(accountID, authToken)
var to = 'your_phone_number'
var from = 'a_persephony_phone_number_in_your_account'

persy.api.messages.create(from, to, 'Welcome to Persephony!')

When you run this code you should get a text message. This indicates that you've successfully setup your SDK.

Documentation

The Persephony documentation has guides on getting started with Persephony, as well as the API reference, PerCL reference, and several useful tutorials.

The SDK documentation is not generated from source code comments, as at the time of writing no existing tool could be found that parsed the comments adequately. Instead the documentation is manually curated in the files at docs/source in the .rst (ReStructuredText) format. Developers should ensure that changes to the SDK are reflected in the documentation.

It is built using the Python package Sphinx and a few other libraries. To install the dependencies in a python virtual environment, run setup.sh.

To generate the documentation, activate the virtual environment and run make html. For livereload, run make watch

Getting Help

If you are experiencing difficulties, contact our support team at support@persephony.com

1.1.1

5 years ago

1.1.0

5 years ago

1.0.0

5 years ago

0.1.0

5 years ago

0.0.2

5 years ago

0.0.1

6 years ago

0.0.0-rc.4

6 years ago

0.0.0-rc.3

6 years ago