Commit from GitHub Actions (Publish APIs & Clients)

This commit is contained in:
asim
2021-09-22 19:20:19 +00:00
parent 2d702178d3
commit 77c32acee8
9 changed files with 44 additions and 7 deletions

View File

@@ -0,0 +1,13 @@
import * as weather from "m3o/weather";
// Get the weather forecast for the next 1-10 days
async function ForecastWeather() {
let weatherService = new weather.WeatherService(process.env.MICRO_API_TOKEN);
let rsp = await weatherService.forecast({
days: 2,
location: "London",
});
console.log(rsp);
}
await ForecastWeather();