Coder Social home page Coder Social logo

usvisachecker_azurefunction's Introduction

USA Visa Checker

This is a .NET Core Azure Function that periodically checks for available dates from the USA Visa application website. It is designed to send an email notification to a recipient when a new available date is found.

Configuration

The function requires the following configurations:

Email Options

The email options configuration should include the sender's email address and default display name. Update the FromAddress and DefaultFromDisplayName values in local.settings.json file.

"EmailOptions": { "FromAddress": "[email protected]", "DefaultFromDisplayName": "Your Name" }

Email Provider Password

The email provider password configuration should include the password for the email provider you are using. Update the EmailProviderPassword value in local.settings.json file.

"EmailProviderPassword": "your_email_provider_password"

Visa Account Details

The visa configuration should include the email and password for your USA Visa application account. Update the Email and Pass values in local.settings.json file.

"Visa": { "Email": "[email protected]", "Pass": "your_password" }

Initial Date

The initial date configuration should include the date from which you want the function to start searching for available dates. Update the InitialDate value in local.settings.json file.

"InitialDate": "2023-01-01"

Email Send

The email send configuration should include the recipient's email address. Update the Recipient value in local.settings.json file.

"EmailSend": { "Recipient": "[email protected]" }

Application ID

The application ID configuration should include the application ID for your visa application. Update the ApplicationId value in local.settings.json file.

"ApplicationId": "your_application_id"

Deployment

To deploy this function to Azure, you can follow the official documentation.

Config File Content

{
"EmailOptions": {
    "FromAddress": "",
    "DefaultFromDisplayName": ""
  },
  "EmailProviderPassword": "",
  "Visa": {
    "Email": "",
    "Pass": ""
  },
  "InitialDate": "2023-01-01",
  "EmailSend": {
    "Recipient": ""
  },
  "ApplicationId": ""
}

Usage

Once the function is deployed and configured, it will periodically check for available dates on the USA Visa application website. If a new date is found, an email notification will be sent to the recipient's email address specified in the configuration.

usvisachecker_azurefunction's People

Contributors

salihcantekin avatar ismkdc 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.