Skip to content

Nexmo/nexmo-developer-techio-playground

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Nexmo Developer Tech.io Playground

Provides code & tests for interactive runnable examples on Nexmo Developer

Developing (external contributions)

  • Setup a Tech.io account
  • Create a Playground
  • Select "Custom Template"
  • Select "Use Tech.io repository"
  • Make a note of the repo URL
  • Add your SSH key
$ git clone [email protected]:Nexmo/nexmo-developer-techio-playground.git
$ cd nexmo-developer-techio-playground
$ git remote add techio <YOUR_TECHIO_REPO_URL>
$ git push techio

Developing (internal contributions)

  • Login to the Tech.io account
  • Add your SSH key
$ git clone [email protected]:Nexmo/nexmo-developer-techio-playground.git
$ cd nexmo-developer-techio-playground
$ git remote add techio [email protected]:cg2250734/playground-oabzu1po.git
$ git push techio

Note: Pushing to this repo will not automatically change the examples as the embed URL changes.

Add example to Nexmo Developer

Copy the embed code and extract the ID from the <iframe> URL. The example can be included using a Nexmo Developer plugin:

For example the following <iframe> embed code:

<iframe
  width="100%" frameborder="0" scrolling="no" allowtransparency="true" style="visibility: hidden"
  src="https://tech.io/playground-widget/64ad01e8cd132498ea5d285a161c4c584058/welcome/124979/Send%20an%20SMS"
></iframe>

Should be added into a Markdown file in Nexmo Developer as:

```techio
title: Send an SMS
path: /64ad01e8cd132498ea5d285a161c4c584058/welcome/124979
```

Contributing

Contributions are welcome, please follow GitHub Flow

License

The content of this project itself is licensed under the Creative Commons Attribution 4.0 International license, and the underlying source code used to format and display that content is licensed under the MIT license.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published