Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: creating a webpage to fetch/calculate weather data

by Util (Priest)
on Jun 21, 2020 at 03:21 UTC ( [id://11118299]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $ curl -sS 'https://nationalmap.gov/epqs/pqs.php?units=Meters&output=j
    +son&x=-83.65&y=41.37'
     | jq '.USGS_Elevation_Point_Query_Service.Elevation_Query.Elevation'
        212.77
    
  2. or download this
    $ curl -LsS 'https://api.weather.gov/points/41.37,-83.65'
     | jq '.properties.forecastGridData'
    ...
    $ curl -LsS 'https://api.weather.gov/gridpoints/CLE/16,52'
     | jq '.properties.elevation.value'
        213.0552
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11118299]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (2)
As of 2024-04-20 03:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found