Skip to content

Latest commit

 

History

History
20 lines (11 loc) · 892 Bytes

README.md

File metadata and controls

20 lines (11 loc) · 892 Bytes

paraglidingsites

List all sites in a country using paragliding.earth API

Created using a lot of help from chatGPT

This input was used at the prompt, then asked for minor improvements:

create php to output in human readable format from http://www.paraglidingearth.com/api/getCountrySites.php?iso=in&style=detailed

Add dropdown menu with submit button for all isocodes with country names to use for 2 characteriso variable in lowercase in the above url. Use https://restcountries.com/v3.1/all to get country names and isocodes. Display country names sorted in the dropdown menu.

include sequence number, Name, parameter takeoff_description as Description, parameter takeoff_altitude as Altitude, latitude and longitude coordinates and pge_link with text Link.

Create separate small files for index.php, table.php, style.css and countries.php.

http://paraglidingsites.rf.gd/