Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/teemow/fahrplan
https://github.com/teemow/fahrplan
Last synced: 25 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/teemow/fahrplan
- Owner: teemow
- License: bsd-2-clause
- Created: 2013-11-06T15:57:58.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2013-11-06T15:58:09.000Z (about 11 years ago)
- Last Synced: 2024-04-23T18:52:13.860Z (8 months ago)
- Language: CoffeeScript
- Size: 102 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Fahrplan
A simple http client for express REST APIs. The express API should expose a `/_meta` route that responds with the app.routes json.
## Example
var Fahrplan = require("fahrplan");
var my_api_client = new Fahrplan({host: "127.0.0.1",port: "80"});
// calling GET /welcome
fahrplan.welcome(function(err, result) {
console.log(result);
});// more info about the api client
console.log(fahrplan._inspect());