Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/germanpaul12/flights-data-sky-scraper-api
Sky Scraper - Python app for searching flight information using the Sky Scrapper API.
https://github.com/germanpaul12/flights-data-sky-scraper-api
data flights flights-api scraping
Last synced: 2 days ago
JSON representation
Sky Scraper - Python app for searching flight information using the Sky Scrapper API.
- Host: GitHub
- URL: https://github.com/germanpaul12/flights-data-sky-scraper-api
- Owner: GermanPaul12
- Created: 2023-10-05T12:33:58.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2023-10-05T12:48:00.000Z (about 1 year ago)
- Last Synced: 2024-11-08T14:15:28.351Z (about 2 months ago)
- Topics: data, flights, flights-api, scraping
- Language: Python
- Homepage:
- Size: 5.86 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Sky Scraper - Flight Search App
Sky Scraper is a Python application that allows you to search for flight information using the Sky Scrapper API. This application helps you find flight prices and other related information for various destinations from a specified origin airport.
## Table of Contents
- [Prerequisites](#prerequisites)
- [Getting Started](#getting-started)
- [Installation](#installation)
- [Configuration](#configuration)
- [Usage](#usage)## Prerequisites
Before you begin, ensure you have met the following requirements:
- Python 3.x installed on your machine.
- API key and host details for the Sky Scrapper API. You can obtain these by signing up on their website.## Getting Started
### Installation
1. Clone this repository to your local machine using:
`git clone https://github.com/GermanPaul12/Flights-Data-Sky-Scraper-API.git`
2. Navigate to the project directory:
`cd Flights-Data-Sky-Scraper-API`### Configuration
1. Create a `creds.py` file in the project directory.
2. Inside `creds.py`, define your API key and host as follows:
```python
X_RapidAPI_Key = "your-api-key"
X_RapidAPI_Host = "your-api-host"
```### Usage
To use the Sky Scraper application:
1. Modify the `querystring` in the `main.py` file to specify your search criteria, including the originSkyId, travelDate, and currency.
2. Run the application: `python3 main.py`The application will make a request to the Sky Scrapper API and retrieve flight information for your specified criteria. The data will be appended to a data.csv file in the project directory.
You can access the flight data in the data.csv file, which includes information such as the country ID, country name, price, currency, timestamp, and image URL.