iOS Scriptable code for a moon phase widget
Don't forget to add your Open Weather Map, API key (line 119)
Base code obtained from here: https://github.com/christianbemerson/MoonPhaseWidget that I did not want fork due to other things I want make with this.