Skip to content

Simple Elixir app to aggregate flights searches

Notifications You must be signed in to change notification settings

rruimor/dondevamos

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dondevamos

Simple Elixir app that uses IATACodes API and Kiwi API to aggregate flights searches

Installation

First, add Dondevamos to your mix.exs dependencies:

def deps do
  [{:dondevamos, "~> 0.1.0"}]
end

and run $ mix deps.get

You will also need to get an IATACodes API key, and place
it in your config/secret.exs file (see config/secrets.exs.example).

Usage

You can get the all common connections to the list of airport codes provided by

~w(AGP AMS MAD SXF POZ) |>
Dondevamos.get_common_destinations()

If you want to find the possible destinations given a list of origins and the departure and return dates:

~w(AGP AMS MAD SXF POZ) |>
Dondevamos.find_flights("23/11/2017", "27/11/2017")

About

Simple Elixir app to aggregate flights searches

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages