{"id":21385278,"url":"https://github.com/mikhailvs/kiwi-api","last_synced_at":"2026-06-22T12:32:21.504Z","repository":{"id":148152974,"uuid":"206447061","full_name":"mikhailvs/kiwi-api","owner":"mikhailvs","description":"Ruby wrapper for kiwi.com API","archived":false,"fork":false,"pushed_at":"2019-09-05T01:21:50.000Z","size":10,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-16T11:44:26.974Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mikhailvs.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-09-05T01:21:21.000Z","updated_at":"2022-02-16T21:28:24.000Z","dependencies_parsed_at":"2023-05-19T08:00:30.190Z","dependency_job_id":null,"html_url":"https://github.com/mikhailvs/kiwi-api","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mikhailvs/kiwi-api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mikhailvs%2Fkiwi-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mikhailvs%2Fkiwi-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mikhailvs%2Fkiwi-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mikhailvs%2Fkiwi-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mikhailvs","download_url":"https://codeload.github.com/mikhailvs/kiwi-api/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mikhailvs%2Fkiwi-api/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34649817,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-22T02:00:06.391Z","response_time":106,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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-11-22T11:46:19.143Z","updated_at":"2026-06-22T12:32:21.487Z","avatar_url":"https://github.com/mikhailvs.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# kiwi-api\nRuby bindings for the Kiwi.com API.\n\n## Install\n```ruby\ngit_source(:gitlab) { |repo_name| \"https://gitlab.com/#{repo_name}.git\" }\n\ngem 'kiwi-api', gitlab: 'mikhailvs/kiwi-ruby'\n````\n\n## Use\n```ruby\nrequire 'kiwi/api'\n\nflights = Kiwi::API::Flights.new(\n  partner: 'picky',\n  currency: 'USD',\n  locale: 'en-US'\n)\n\nlocations = Kiwi::API::Locations.new\n\ndates = Date.parse('1 Jan 2019')..Date.parse('10 Sep 2019')\n\nresult = flights.search(\n  from: locations.city('washington d.c.').first.code,\n  to: locations.country('france').first.code,\n  limit: 10,\n  depart: dates,\n  return: dates,\n  nights: 10..15\n).data.first\n\ninfo = {\n  to: result.cityTo,\n  from: result.cityFrom,\n  price: result.price,\n  distance: result.distance,\n  flight_time: result.fly_duration,\n  leave: Time.at(result.dTime)\n}\n\nputs info.inspect\n\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmikhailvs%2Fkiwi-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmikhailvs%2Fkiwi-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmikhailvs%2Fkiwi-api/lists"}