{"id":16353498,"url":"https://github.com/moviendome/kiwi","last_synced_at":"2025-07-23T01:32:57.582Z","repository":{"id":48149005,"uuid":"202319898","full_name":"moviendome/kiwi","owner":"moviendome","description":"Ruby wrapper for the Tequila API (Kiwi.com)","archived":false,"fork":false,"pushed_at":"2023-01-20T16:48:48.000Z","size":317,"stargazers_count":1,"open_issues_count":4,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-08T08:07:59.805Z","etag":null,"topics":["flights-api","gem","ruby","tequila","wrapper"],"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/moviendome.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-08-14T09:34:52.000Z","updated_at":"2019-08-17T09:12:38.000Z","dependencies_parsed_at":"2023-02-12T03:45:15.725Z","dependency_job_id":null,"html_url":"https://github.com/moviendome/kiwi","commit_stats":null,"previous_names":["moviendome/kiwi","jferrer/kiwi"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/moviendome/kiwi","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moviendome%2Fkiwi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moviendome%2Fkiwi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moviendome%2Fkiwi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moviendome%2Fkiwi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/moviendome","download_url":"https://codeload.github.com/moviendome/kiwi/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moviendome%2Fkiwi/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266602800,"owners_count":23954696,"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","status":"online","status_checked_at":"2025-07-22T02:00:09.085Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"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":["flights-api","gem","ruby","tequila","wrapper"],"created_at":"2024-10-11T01:29:42.914Z","updated_at":"2025-07-23T01:32:57.562Z","avatar_url":"https://github.com/moviendome.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Kiwi\n\n[![Build Status](https://travis-ci.org/jferrer/kiwi.svg?branch=master)](https://travis-ci.org/jferrer/kiwi) [![Gem Version](https://badge.fury.io/rb/kiwi-ruby.svg)](https://badge.fury.io/rb/kiwi-ruby)\n\nThis is a Ruby wrapper for the [Tequila API](https://tequila.kiwi.com) ([Kiwi.com](https://www.kiwi.com)).\n\nCurrently only `search` and `location` are supported.\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n```ruby\ngem 'kiwi-ruby'\n```\n\nAnd then execute:\n\n    $ bundle\n\nOr install it yourself as:\n\n    $ gem install kiwi-ruby\n\n## Setup\n\nInitialize the gem with a valid API KEY:\n\n```\n  KiwiApi.api_key = \"your-api-key\"\n```\n\n## Supported endpoints\n\n### search\nKiwi.com flights search API.\n\n```ruby\n  params = {\n    fly_from: \"CNX\",\n    fly_to: \"BKK\",\n    date_from: \"10/10/2019\",\n    date_to: \"10/10/2019\",\n    return_from: \"14/10/2019\",\n    return_to: \"14/10/2019\",\n  }\n\n  response = client.search(params)\n\n  response.success? # true/false\n\n  response.status # 200...\n\n  response.body # results...\n\n  response.errors # error message \u0026 full messages\n```\n\n### location\nLocations is a simple API used to search, suggest and resolve locations in various situations.\n\n```ruby\n  params = {\n    term: \"Chiang Mai\"\n  }\n\n  response = client.location(params)\n\n  response.success? # true/false\n\n  response.status # 200...\n\n  response.body # results...\n\n  response.errors # error message \u0026 full messages\n```\n\n## Get Api Key\n\nTo get access to the Tequila API, signup as an affiliate [here](https://tequila.kiwi.com/portal/login/register).\n\n## License\n\nThe gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmoviendome%2Fkiwi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmoviendome%2Fkiwi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmoviendome%2Fkiwi/lists"}