Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re^2: creating a webpage to fetch/calculate weather data

by Aldebaran (Curate)
on Jun 23, 2020 at 22:58 UTC ( [id://11118397]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $ curl -s 'https://nationalmap.gov/epqs/pqs.php?units=Meters&output=js
    +on&x=-83.65&y=41.37' | jq '.USGS_Elevation_Point_Query_Service.Elevat
    +ion_Query.Elevation'
    212.77
    $
    
  2. or download this
    2020/06/23 15:26:07 INFO ./5.2.elev.pl 
    2020/06/23 15:26:07 INFO {
      "USGS_Elevation_Point_Query_Service" => {
    ...
    2020/06/23 15:26:08 INFO https://api.weather.gov/gridpoints/CLE/16,52 
    2020/06/23 15:26:08 INFO ============== 
    2020/06/23 15:26:08 INFO 213.0552 wmoUnit:m
    
  3. or download this
    #!/usr/bin/env perl
    
    use strict;
    ...
    $logger->info( $elev2 . ' '. $unit);
    
    __END__
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (3)
As of 2024-04-25 17:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found