Skip to content

Commit

Permalink
Merge pull request #4 from axelniklasson/development
Browse files Browse the repository at this point in the history
Development
  • Loading branch information
axelniklasson committed Aug 26, 2017
2 parents fbbf476 + c5f7901 commit e006dd5
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ npm install node-skanetrafiken
```

## Usage
Below shows a simple example of finding a stop by name. Docs for all endpoints can be found in the Wiki.
Below shows a simple example of finding a stop by name. Docs for all endpoints can be found in the [Wiki](https://github.com/axelniklasson/node-skanetrafiken/wiki/API-documentation).
```
// demo.js
Expand Down
4 changes: 2 additions & 2 deletions lib/endpoints/neareststation.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ var config = require('../config');

module.exports = {
/*
* Finds all department and arrival stops within circle of a specified radius,
* Finds all departure and arrival stops within circle of a specified radius,
* where center point of circle is specified
*
* @param x int : x coordinate in RT 90 system
* @param x int : x coordinate in RT 90 system
* @param y int : y coordinate in RT 90 system
* @param radius int : radius in meters (optional)
* @param cb function : callback function
*
Expand Down
4 changes: 2 additions & 2 deletions lib/endpoints/querypage.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ var config = require('../config');
module.exports = {

/*
* Finds all department and arrival stops matching from and to.
* Finds all departure and arrival stops matching from and to.
*
* @param from string : string matching department stop
* @param from string : string matching departure stop
* @param to string : string matching arrival stop
* @param cb function : callback function
*
Expand Down
2 changes: 1 addition & 1 deletion lib/endpoints/resultspage.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ module.exports = {
* @param transportMode int : sum of trafficmeans IDs (optional)
* @param cb function : callback function
*
* @returns an array of journies
* @returns an array of journyes
*/
getJourneys: function(opts, cb) {
if (opts.from && opts.to && opts.action) {
Expand Down

0 comments on commit e006dd5

Please sign in to comment.