Skip to content

webshell/APIs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Node.js layer for APIs

JavaScript has long been the de facto standard for client-side APIs and mashups with Googlemaps, Youtube etc... While nearly all client API code is written in JavaScript, server-side APIs like Twitter or Facebook can be called in PHP, Python, Ruby, Java, and numerous other languages. Life as a web and mobile developer would be much simpler if a single language was used everywhere.

Because JavaScript dominates APIs in the browser , it makes sense to use it for server side APIs as well.

In the same way Node.js made Javascript the unique language to execute code server-side and client-side, Webshell, built on Node.js too, lets you call APIs with a single language : Javascript.

APIs

All APIs implemented in Webshell are here in Javascript.

Usage

  1. Sign up and create an app on Webshell By creating an app, you generate API Key for the Webshell API. You can configure hosts, and attach to this app some API Key for the API you are using.

  2. Install the Javascript SDK Insert this line in your HTML

    <script type="text/javascript" src="http://api.webshell.io/sdk/js?key={key}"></script>
  3. Hello world app In your Javascript you can now use the wsh object

    wsh.exec({ code: function() { //Some javascript which have to be executed by Webshell apis.tts('hello world'); }, process: function(data, meta) { $('body').append(meta.view); } });

You can just call the Text to Speech API for, say, "Hello World". You can call lots of APIs like that and script them together directly in your JavaScript. Take a minute to visit our API Explorer to discover them!

  1. Webshell Cloud Editor To try and create your APIs directly in your browser to use them in the Webshell API. Go to the API Editor

  2. More For more information on what you can do with Webshell, check the Documentation and the FAQ ##Licence Webshell APIs Copyright (C) 2013 Webshell SAS

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.

Releases

No releases published

Packages

No packages published