{"id":22354334,"url":"https://github.com/jonmagic/kayakfares","last_synced_at":"2025-03-26T12:40:42.465Z","repository":{"id":2967340,"uuid":"3982230","full_name":"jonmagic/kayakfares","owner":"jonmagic","description":"Library to return fares from the Kayak Search Gateway using Mechanize.","archived":false,"fork":false,"pushed_at":"2012-04-10T21:14:06.000Z","size":120,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-31T13:43:46.336Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jonmagic.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2012-04-10T13:00:11.000Z","updated_at":"2021-06-29T21:35:42.000Z","dependencies_parsed_at":"2022-08-26T06:20:36.626Z","dependency_job_id":null,"html_url":"https://github.com/jonmagic/kayakfares","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonmagic%2Fkayakfares","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonmagic%2Fkayakfares/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonmagic%2Fkayakfares/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonmagic%2Fkayakfares/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jonmagic","download_url":"https://codeload.github.com/jonmagic/kayakfares/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245658961,"owners_count":20651517,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-04T13:12:20.385Z","updated_at":"2025-03-26T12:40:42.443Z","avatar_url":"https://github.com/jonmagic.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# KayakFares\n\nLibrary to return fares from the [Kayak Search Gateway](http://www.kayak.com/labs/gateway/doc/air.vtl) using [Mechanize](http://mechanize.rubyforge.org/).\n\n## Usage\n\nSearch for fares:\n\n    require 'kayakfares'\n\n    params = {:from =\u003e \"SBN\", :to =\u003e \"VRN\", :depart =\u003e \"5/15/2012\", :return =\u003e \"5/20/2012\"}\n    search = KayakFares.new(params)\n\n    search.results[0].price\n    =\u003e $1240\n\n    search.results[0].airline\n    =\u003e United\n\n    search.results[0].leg0_departure_time\n    =\u003e 7:44p\n\n    search.results[0].leg0_arrival_time\n    =\u003e 10:35p\n\n    search.results[0].leg0_duration\n    =\u003e 20h 51m\n\n    search.results[0].leg1_departure_time\n    =\u003e 6:55a\n\n    search.results[0].leg1_arrival_time\n    =\u003e 11:26p\n\n    search.results[0].leg1_duration\n    =\u003e 22h 31m\n\n## Note on Patches/Pull Requests\n\n* Fork the project.\n* Make your feature addition or bug fix.\n* Add tests for it. This is important so we don't break it in a future version unintentionally.\n* Commit, do not mess with rakefile, version, or history. (if you want to have your own version, that is fine, but bump version in a commit by itself so we can ignore when we pull)\n* Send us a pull request. Bonus points for topic branches.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjonmagic%2Fkayakfares","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjonmagic%2Fkayakfares","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjonmagic%2Fkayakfares/lists"}