Skip to content

InterImm/boarding-pass

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

boarding-pass

Your boarding pass

How to use

Use URL parameters to specify the fields, e.g.,

/index.html?name=Tim Smith&deck=A

We also have a Chinese version

/cn/index.html?name=蔡琴&deck=A

List of URL Parameters

This is a list of possible paramters and default values.

{
    ship: 'Renaissance',
    from: 'Earth',
    destination: 'Mars',
    fromCode: 'E-SH',
    destinationCode: 'M-I',
    departureTime: '2019-09-18',
    arrivalTime: '2020-07-12',
    name: 'Jane Doe',
    departureTerminal: 'A',
    departurePlatform: '6',
    deck: 'E',
    room: 'E17'
}