Hey! If you're looking for a simple code to check flight availability python, try the `requests` library with Amadeus API. It’s got a free tier and decent docs.
Here’s a quick snippet:
```python
import requests
url = "https://api.amadeus.com/v2/shopping/flight-offers"
headers = {"Authorization": "Bearer YOUR_API_KEY"}
response = requests.get(url, headers=headers)
print(response.json())
```
Not perfect, but way easier than Skyscanner. Just watch the rate limits!
Here’s a quick snippet:
```python
import requests
url = "https://api.amadeus.com/v2/shopping/flight-offers"
headers = {"Authorization": "Bearer YOUR_API_KEY"}
response = requests.get(url, headers=headers)
print(response.json())
```
Not perfect, but way easier than Skyscanner. Just watch the rate limits!
