Skip to content

Created fetch-airlines.js - #3

Open
olejorga wants to merge 3 commits into
signicode:developfrom
olejorga:add-airlines
Open

Created fetch-airlines.js#3
olejorga wants to merge 3 commits into
signicode:developfrom
olejorga:add-airlines

Conversation

@olejorga

@olejorga olejorga commented Feb 12, 2020

Copy link
Copy Markdown

This fetches airline data and structures it like airports in dist/airlines for now.
I also added a way of getting rid of bad icao and iata codes in the source data.

@MichalCz

Copy link
Copy Markdown
Member

Cool... I'll review this later today.

Also we'd need some tests around this.

@MichalCz MichalCz left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok, so now we need a getter and an index file something like: openflights-cached/index.js but for airlines.

Or simply add another getter to self in index. Also findAirline(id) would be good so it would need a similar code like index.js:10: requireicao and the getter around line 25.

Comment thread bin/fetch-airlines.js
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants