This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require "httparty" | |
# Bysykkel ID + navn. Se UIP for liste: https://oslobysykkel.no/apne-data | |
station01 = '478' # Jernbanetoget | |
station02 = '424' # Birkelunden | |
friendly_name_01 = "Jernbanetorget" | |
friendly_name_02 = "Birkelunden" | |
obs_identifier = "" # VIKTIG: Bytt med din egen identifier |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require "net/http" | |
require "graphql/client" | |
require "graphql/client/http" | |
module ETAPI | |
api_endpoint = "https://api.entur.org/journeyplanner/2.0/index/graphql" | |
# stopPlace_id = "NSR:StopPlace:58366" # Jernbanetorget | |
# stopPlace_id = "NSR:StopPlace:58404" # Nationaltheatret |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Base colour. Used when hovering a link. | |
$base: #242322; | |
//Colours variables (from brandcolors.net) | |
$facebook: #3b5998; | |
$twitter: #00acee; | |
$linkedin: #0e76a8; |