Skip to content
This repository has been archived by the owner on Jun 4, 2020. It is now read-only.
/ snapcar-sdk-js Public archive

The official SnapCar SDK for JavaScript that allows communication between your browser application and the SnapCar platform through the SnapCar Public API.

Notifications You must be signed in to change notification settings

snapcar/snapcar-sdk-js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SnapCar SDK for JavaScript

The official SnapCar SDK for JavaScript that allows communication between your browser application and the SnapCar platform through the SnapCar Public API. It lets you peform a bunch of actions such as making bookings or getting ETAs on behalf of a user. The API reference of this SDK can be found on the SnapCar SDK for JavaScript project website.

Installing

Using Bower

The easiest way to use the SDK is to install it using Bower. To do so, type the following into a terminal window:

bower install snapcar-sdk-js

Cloning the repository

You can clone the repository by typing the following into a terminal window:

git clone git://github.com/snapcar/snapcar-sdk-js

Downloading archive

Another option is to simply download the source code in ZIP format.

Usage

To use the SDK, you just need to add the following script tag to your HTML pages:

<script src="src/SnapCar.js"></script>

For better performance, you can use the minified version:

<script src="src/SnapCar.min.js"></script>

Documentation and getting started

SDK documentation and examples

A comprehensive documentation and many examples are available on the SnapCar SDK for JavaScript project website.

SnapCar pubic API documentation

Keep in mind that the SnapCar SDK for JavaScript is an implementation of the SnapCar Public API which is based on a REST architecture. You may refer to the public API documentation for general information about the work flow.

About

The official SnapCar SDK for JavaScript that allows communication between your browser application and the SnapCar platform through the SnapCar Public API.

Resources

Stars

Watchers

Forks

Packages

No packages published