Trade-A-Plane-Suche nach Flugzeugen und Motoren.
query ist ein Stichwort oder eine /filtered/search- oder /search-URL. Bei einem Stichwort ist listing_type aircraft oder engine.
Eine URL mit listing_id liefert 400.
GET https://api.piloterr.com/v2/tradeaplane/search?query=rol&listing_type=engine
GET https://api.piloterr.com/v2/tradeaplane/search?query=spirit&listing_type=aircraft
GET https://api.piloterr.com/v2/tradeaplane/search?query=https://www.trade-a-plane.com/filtered/search?s-type=engine&s-keyword-search=rol&s-original-search=rol
Beispiel (Motor-Stichwort):
rol
Beispiel (Flugzeug-Stichwort):
spirit
Beispiel (Such-URL):
https://www.trade-a-plane.com/filtered/search?s-type=aircraft&s-keyword-search=spirit&s-original-search=spirit
query ist erforderlich. Nur www.trade-a-plane.com wird akzeptiert.
| Form |
Beispiel |
Wirkung |
| Stichwort, Motoren |
rol + listing_type=engine |
Baut /filtered/search?s-type=engine&s-keyword-search=rol. |
| Stichwort, Flugzeuge |
spirit + listing_type=aircraft |
Baut /filtered/search?s-type=aircraft&s-keyword-search=spirit. |
| Such-URL |
https://www.trade-a-plane.com/filtered/search?s-type=engine&s-keyword-search=rol&s-original-search=rol |
Nutzt diese Suche. page wird als s-page gesendet. |
Eine Inserat-URL liefert 400. Ein Stichwort ohne listing_type liefert 400. page unter 1 liefert 400.
page beginnt bei 1. Seite 2 ist s-page=2.
| Parameter |
Typ |
Pflicht |
Beschreibung |
query |
string |
ja |
Stichwort oder Such-URL ohne listing_id |
listing_type |
string |
nein |
aircraft oder engine, wenn query ein Stichwort ist. |
page |
integer |
nein |
Seite ab 1. Wird als s-page gesendet. |
| Feld |
Typ |
Beschreibung |
results[].listing_id |
string |
Listing id |
results[].title |
string |
Card title |
results[].url |
string |
Listing URL |
results[].listing_type |
string |
aircraft or engine |
results[].category |
string | null |
Category |
results[].year |
integer | null |
Year when the title starts with one |
results[].make |
string | null |
Make |
results[].model |
string | null |
Model |
results[].price |
number | null |
Price in USD. Null for Call for Price |
results[].price_display |
string | null |
Price as shown |
results[].currency |
string | null |
USD when a price is present |
results[].condition |
string | null |
Engine condition |
results[].registration |
string | null |
Aircraft registration |
results[].total_time |
string | null |
Total time |
results[].seller |
string | null |
Seller name |
results[].city |
string | null |
City |
results[].region |
string | null |
State |
results[].country |
string | null |
Country |
results[].phone |
string | null |
Seller phone |
pagination.total_results |
integer | null |
Result count from the heading |
pagination.next |
string | null |
Next page URL |
price ist eine Zahl in USD. Call for Price lässt price leer.
condition gilt für Motoren, registration für Flugzeuge.
total_results kommt aus der Überschrift Showing 1 - N of M results.
- Kolben, Turbinen oder einen Modellnamen erfassen
- Eine Marke wie Cessna oder Piper durchblättern
- Eine URL an das Inserat übergeben
| Code |
Bedeutung |
400 |
Leere Abfrage, fehlender listing_type, oder Inserat-URL |
403 |
Blockiert |
404 |
Kein Inserat auf der Seite |
500 |
Abruf fehlgeschlagen |
Trade-A-Plane Inserat