![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Unofficial API for Ruter# REIS API (public transportation service in and around Oslo, Norway)
In Node.js:
npm install ruter-api
var ruter = require('ruter-api');
// Returns "Pong". Check API server availability
ruter.api("Heartbeat/Index", {}, response => {
console.log(response);
});
// Get all stops within the ruter zone
ruter.api("Place/GetStopsRuter", {}, response => {
console.log(response);
});
// Get all lines. Their name, type and respective color,
ruter.api("Line/GetLines", {}, response => {
console.log(response);
});
Place/GetStop/{id} Returns all data about a Stop
Place/GetArea/{id} This method is not official part of Ruter Open API. It may be removed or changed without prior notice.
Place/GetPlaceExtension/{id}?locationType={locationType} This method is not official part of Ruter Open API. It may be removed or changed without prior notice
Place/GetPlacesByIdListExtension This method is not official part of Ruter Open API. It may be removed or changed without prior notice
Place/GetPlacesByAreaExtension?xmin={xmin}&xmax={xmax}&ymin={ymin}&ymax={ymax}&unique={unique}&locationType={locationType} This method is not official part of Ruter Open API. It may be removed or changed without prior notice
Place/GetClosestPlacesExtension?coordinates={coordinates}&proposals={proposals}&maxdistance={maxdistance}&unique={unique}&locationType={locationType} This method is not official part of Ruter Open API. It may be removed or changed without prior notice
Place/GetPlaces/{id}?location={location} Returns a list of Places that have names similar to the search string. If a Location is provided, search results are sorted according to geographical proximity.
Place/GetPlacesExtension/{id}?location={location}&unique={unique}&locationType={locationType}&proposals={proposals} This method is not official part of Ruter Open API. It may be removed or changed without prior notice
Place/GetStopsByLineID/{id} Returns an unsorted list of all Stops served by a Line.
Place/GetClosestStops?coordinates={coordinates}&proposals={proposals}&maxdistance={maxdistance} Returns a List of Stops and their real walking distance to the point defined by the argument Coordinates.
Place/GetStopsByArea?xmin={xmin}&xmax={xmax}&ymin={ymin}&ymax={ymax}&includeStopPoints={includeStopPoints} Returns a list of Stops within a box defined by the search arguments. All values have to be on UTM33 format.
Place/GetSalePointsByArea?longmin={longmin}&longmax={longmax}&latmin={latmin}&latmax={latmax} Returns a list of SalePoints within a box defined by the search arguments. All values have to be long lat.
Place/GetCityBikeStations?longmin={longmin}&longmax={longmax}&latmin={latmin}&latmax={latmax} Returns a list of City Bike Sations within a box defined by the search arguments. The stations also contain information about available bicycles and locks.
Place/GetStopsRuter Returns a list of stops within the Ruter zones.
Travel/GetTravels?fromPlace={fromPlace}&toPlace={toPlace}&isafter={isafter}&time={time}&changemargin={changemargin}&changepunish={changepunish}&walkingfactor={walkingfactor}&proposals={proposals}&transporttypes={transporttypes}&maxwalkingminutes={maxwalkingminutes}&linenames={linenames}&walkreluctance={walkreluctance}&waitAtBeginningFactor={waitAtBeginningFactor} The travel planner covers all public transport modes and walking. In order to plan a journey between two places, you need to input the location of both the starting point and the destination on one of the following formats: National stop ID, Area ID, POI ID or Coordinate (in UTM32 format) In most cases, default parameters for interchange and walking speed should be used, but they can be adjusted according to your wish. The server will return a TravelResponse object, which in turn contains an array of TravelProposals as well as a ReisError object (which should be empty ;)). The TravelProposal objects in turn contain a TravelStage or WalkingStage object for each of the legs of the journey.
Travel/GetTravelsExtension?fromplace={fromplace}&toplace={toplace}&isafter={isafter}&time={time}&changemargin={changemargin}&changepunish={changepunish}&walkingfactor={walkingfactor}&proposals={proposals}&transporttypes={transporttypes}&maxwalkingminutes={maxwalkingminutes}&linenames={linenames} No documentation available.
Travel/GetRoute?stops={stops}&time={time}&outSR={outSR} No documentation available.
Line/GetLines Returns a List of all Lines available.
Line/GetLinesByStopID/{id} Returns a List of all Lines that serve a Stop.
Line/GetDataByLineID/{id} Returns data about a Line.
Line/GetStopsByLineId/{id} Returns a List of all Stops that are served by a Line.
Line/GetLinesRuterExtended?ruterOperatedOnly={ruterOperatedOnly} Returns a list of lines that Ruter operates, including stops for each line. Whether or not to include train lines, airport express lines and other lines by other operators. Set to "true" or "false", default is false if not supplied.
Line/GetLinesRuter?ruterOperatedOnly={ruterOperatedOnly} Returns a list of lines that Ruter operates.
Read more about the API-calls and the values you get in return at Ruters official API specification
git@github.com:willosof/node-ruter.git
William Viker <william.viker@gmail.com>
FAQs
Wrapper for the official Ruter# API (public transportation service in and around Oslo, Norway)
The npm package ruter-api receives a total of 0 weekly downloads. As such, ruter-api popularity was classified as not popular.
We found that ruter-api demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.