
{"id":1067,"date":"2017-10-11T17:49:46","date_gmt":"2017-10-11T10:49:46","guid":{"rendered":"https:\/\/blog.travelpayouts.com\/en\/?p=1067"},"modified":"2021-10-02T20:51:47","modified_gmt":"2021-10-02T17:51:47","slug":"flight-api-project","status":"publish","type":"post","link":"https:\/\/www.travelpayouts.com\/blog\/flight-api-project\/","title":{"rendered":"Flight Search Project for PHP"},"content":{"rendered":"<h2>How to Connect to the API?<\/h2>\n<p>Before connecting, be sure to read <a href=\"https:\/\/support.travelpayouts.com\/hc\/en-us\/articles\/203956173-Flights-search-API-Real-time-and-multi-city-search\" target=\"_blank\" rel=\"noopener noreferrer\">the conditions for provision of the flight API<\/a>.<\/p>\n<p>Then you need to send a request to support@travelpayouts.com with the following information:<\/p>\n<ul>\n<li>Your project URL<\/li>\n<li>How exactly will the search API be used<\/li>\n<li>Explanation of why the standard integration methods (search forms, White Label, data access API) are not suitable for you<\/li>\n<li>Provide prototypes \/ designs for your project or an existing project where the flight search function will be used and a description of the project itself<\/li>\n<\/ul>\n<h2>How Will the Template Help You in Your Work?<\/h2>\n<p><a href=\"https:\/\/github.com\/travelpayouts\/flights-api-project\" target=\"_blank\" rel=\"noopener noreferrer\">The template<\/a> is suitable for those who are well-versed in development. However, it is time-limited. We made a template based on our search API. Anyone can take it, make his own design and put it on his website. And you will have your own ready-to-use metasearch engine. Previously, all this could also be done using flight search API, but now it has become faster and easier.<\/p>\n<p>Here are just a few reasons to use the template.<\/p>\n<ol>\n<li><a href=\"https:\/\/github.com\/travelpayouts\/flights-api-project\" target=\"_blank\" rel=\"noopener noreferrer\">The template<\/a> allows you to look at the work of the search API immediately without spending time and efforts on implementation. Before, to implement a search in your own style with your features, you had to design the pages, come to us and gain access to the API. Then the partner began to make a search service, spend a lot of time on it to get at least some results. Then, when he finally made it, he began to cross it all with design and spend a lot of time. But here you have a ready-made template \u2013 you only need to put your token and marker there and everything will work. Of course, you can implement and add something else, but that&#8217;s another story all together.<\/li>\n<li>The template is already ready for use. Request\/output of results and all the internal mechanisms have already been implemented. You can parse it in parts because the code is open and can be compiled similarly to another programming language. This can be useful since not everyone uses the same languages as in the template (Yii2 for the backend and angularJs for the front).<\/li>\n<li>And most importantly, almost no one does so. Usually, you are given the API and documentation, and then left to suffer as you want. But we care about our partners.<\/li>\n<\/ol>\n<p>It&#8217;s time to <a href=\"https:\/\/github.com\/travelpayouts\/flights-api-project\" target=\"_blank\" rel=\"noopener noreferrer\">try the template<\/a> on your project.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>We provide our affiliate program members a flights search API on request. In other services, you have been receiving only API and documentation, but we have decided to make <a href=\"https:\/\/github.com\/travelpayouts\/flights-api-project\" target=\"_blank\" rel=\"noopener noreferrer\">a template based on our flights search API<\/a> \u2014 for those who simply do not have enough time to develop theirs.<\/p>\n","protected":false},"author":3,"featured_media":287,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_eb_attr":"","footnotes":""},"categories":[7],"tags":[],"class_list":["post-1067","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-advices"],"acf":[],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/www.travelpayouts.com\/blog\/wp-json\/wp\/v2\/posts\/1067","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.travelpayouts.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.travelpayouts.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.travelpayouts.com\/blog\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.travelpayouts.com\/blog\/wp-json\/wp\/v2\/comments?post=1067"}],"version-history":[{"count":3,"href":"https:\/\/www.travelpayouts.com\/blog\/wp-json\/wp\/v2\/posts\/1067\/revisions"}],"predecessor-version":[{"id":7185,"href":"https:\/\/www.travelpayouts.com\/blog\/wp-json\/wp\/v2\/posts\/1067\/revisions\/7185"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.travelpayouts.com\/blog\/wp-json\/wp\/v2\/media\/287"}],"wp:attachment":[{"href":"https:\/\/www.travelpayouts.com\/blog\/wp-json\/wp\/v2\/media?parent=1067"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.travelpayouts.com\/blog\/wp-json\/wp\/v2\/categories?post=1067"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.travelpayouts.com\/blog\/wp-json\/wp\/v2\/tags?post=1067"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}