Skip to content

H4ckademy-Piston/Piston

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Piston

Proudly developed with love at h4ckademy for the community, as proposed by Traity.

Description

Engine to consume different APIs. With Piston you can write your own specification for an API of your like and Piston takes care of handling the requests, the errors and do some proccessing on the response expected. It is intended to work with json format responses. We have for now investigated a few APIs and some more will come in the future.

Environment

  • node v5.2.0

  • jasmine v2.4.1

  • Dependencies:

    • request v2.67.0

    • xml2js v0.4.15

Usage

In the folder examples you can see how it can be used. In pistonSpecs folder you can add your own API spec files. We are providing a template in .json format that can be filled with different data (your own headers, query strings, params to be passed to Piston on execution, the fields of the response you want to grab, etc.)

Tests

More tests to come in the near future for you test addicts.

Authors

Autumn 2015 Google Campus Madrid

About

An engine for consuming APIs

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published