diff options
Diffstat (limited to 'src/main.rs')
-rw-r--r-- | src/main.rs | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/main.rs b/src/main.rs new file mode 100644 index 0000000..816bebc --- /dev/null +++ b/src/main.rs @@ -0,0 +1,9 @@ +mod barbfile; + +use std::fs; +use ureq; + +fn main() { + let barbfile = fs::read_to_string("test.barb").expect("Failed to read file"); + ureq::get("https://api.met.no/weatherapi/tafmetar/1.0/tafmetar?icao=EGKK"); +} |