Code Monkey home page Code Monkey logo

idata_notifier's Introduction

IDATA Randevu Bulucu (İtalya, Almanya)

Idata Schengen Vize başvurusu için otomatik olarak açık randevu slotlarını kontrol eder. SendGrid ve Twilio hesaplarına bağlamanız durumunda, açık bir randevu slotu bulduğunda size Email ve SMS gönderir.

Notlar:

  • Uygulama mevcut hali ile sadece İtalya randevularını takip etmektedir. Dileyen ilave eklentiler ile Almanya'yı da ekleyebilir.
  • İtalya için şuan 3 ofis tanımlanmıştır; İstanbul-Altunizade, İstanbul-Gayrettepe, İzmir
  • SendGrid email gönderim hesabı için; https://sendgrid.com/en-us adresi üstünden Free Account ile hesap oluşturabilirsiniz, Email API menüsünden SMTP Relay adımlarını takip ederek entegrasyon bilgilerini edinebilirsiniz. Gönderici adresi Settings menüsü altında Sender Authentication sayfasındaki verify olmuş mail adresi olmalıdır
  • Twilio ile SMS gönderimi için; https://www.twilio.com/en-us adresi üstünden Free Account ile hesap oluşturabilirsiniz. Twilio hesabını oluşturduktan sonra Messaging menüsü altındaki Geo permissions sayfasından Türkiye'ye sms gönderimine izin vermek için işaretlemelisiniz.
  • 2 dakikada bir sorgulama yapmaktadır. idata sistemlerini yormamak adına daha sık istek atmamanızı öneririm(Developerlara iş çıkarmayalım) :)

Konfigürasyonlar

docker-compose.yaml dosyası içinde aşağıdaki ENV bilgilerini düzenlemek gerekmektedir.

Email için SendGrid bilgileri

AIRFLOW__SMTP__SMTP_HOST: 'smtp.sendgrid.net'
AIRFLOW__SMTP__SMTP_USER: 'apikey'
AIRFLOW__SMTP__SMTP_MAIL_FROM: ''
AIRFLOW__SMTP__SMTP_PASSWORD: ''

SMS için Twilio bilgileri

TWILIO_ACCOUNT_SID: ''
TWILIO_AUTH_TOKEN: ''
TWILIO_FROM_PHONE_NUMBER: ''
TWILIO_TO_PHONE_NUMBER: ''

Vize istenen ülke:

italya, almanya

IDATA_COUNTRY_VARIABLE_NAME: 'italya'

Randevu alınmak istenen idata ofisi:

istanbul_altunizade, istanbul_gayrettepe, izmir

IDATA_OFFICE_VARIABLE_NAME: 'istanbul_altunizade'

Alert Modu: Test, Prod

MODE: 'Test'

Çalıştırmak için

docker compose -f docker-compose.yaml build
docker compose -f docker-compose.yaml up

Durdurmak için

docker compose -f docker-compose.yaml down

idata_notifier's People

Contributors

cetingokhan 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.