i4ratsit-se
Interface for Ratsit AB's www.ratsit.se
Last updated 6 years ago by andreineculau .
Apache-2.0 · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install i4ratsit-se 
SYNC missed versions from official npm registry.

i4ratsit-se Build Status

Interface for Ratsit AB's www.ratsit.se

DISCLAIMER This is an unofficial experiment serving these purposes:

  • provide a CLI
  • provide an "API" (HTTP server)
    • enacting proper HTTP usage
    • creating/using some vendor media-types (targeting a future media-type registration)

Install

npm install i4ratsit-se

Usage

CLI

i4ratsit-se anonymous --where Stockholm

NodeJS

i4ratsitSe = require 'i4ratsit-se'

i4ratsitSe.search {who: 'anonymous', where: 'Stockholm'}, (err, res) ->
  throw err  if err?
  if res.headers['Content-Type'] is 'application/vnd.hyperrest.persons-v1+json'
    console.log res.body.items
    consoel.log res.body.links

HTTP API

"TODO"

Ratsit, WAT?

License

Apache 2.0

Current Tags

  • 0.1.1                                ...           latest (6 years ago)

2 Versions

  • 0.1.1                                ...           6 years ago
  • 0.1.0                                ...           6 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (8)
Dev Dependencies (5)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |