GithubHelp home page GithubHelp logo

weathersms's Introduction

WeatherSMS

A funny app to send yourself a SMS everyday about weather and a positive message, as you want! Example: Good Morning! Paris🌧 🌑+12Β°C It's Wednesday, December 21 🌘 πŸ€” Remember: Mistakes don't make you less capable πŸ‘
Today's Quote: You must welcome change as the rule but not as your ruler.
-Denis Waitley
✨ Have a Great Day ✨

To run the application

1, Download the app, then add plugin "Azure Toolkit for Intellij".

2, Tools -> Azure sign in -> sign in with your account.

3, Tools -> Select subscription -> select your Azure subscription.

4, Add this class with your own credentials from Twilio:

import com.fasterxml.jackson.databind.ObjectMapper;

import java.time.ZoneId;

public class Config {
    public static final ZoneId MY_TIMEZONE = ZoneId.of("Europe/Paris");
    public static final String WTTR_LOCATION = "Paris";
    public static final ObjectMapper MAPPER = new ObjectMapper();

    public static final String TWILIO_ACCOUNT_SID = "<ur_own_TWILIO_ACCOUNT_SID>";
    public static final String TWILIO_AUTH_TOKEN = "<ur_own_TWILIO_AUTH_TOKEN>";

    public static final String TWILIO_PHONE_NUMBER = "<ur_own_TWILIO_PHONE_NUMBER>";
    public static final String MY_PHONE_NUMBER = "<ur_own_PHONE_NUMBER>";
}

5, Make sure your Function App instance is running in Azure.

6, Test and run it.

Pre-request

Create an account in Azure.

Create an account in Twilio.

weathersms's People

Contributors

lime5005 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.