Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Webhooks with Python
#1
Hello,

Do we need to use Flask in order to use webhooks with Python?

Or can we avoid using Flask?

Thanks
Reply
#2
No, you don't need to use Flask. For a start, Flask is not the only web framework for Python (others include Django and Bottle). Secondly, a web framework lets you write applications that respond to HTTP requests. Webhooks are basically URLs you make an HTTP request to to perform some service, so you don't need an HTTP server, but an HTTP client like Requests.
Reply
#3
I think flask is the way to go.
Used in combination with Jinja2, and bootstrap you can create some very powerful websites.
There is a tutorial you can get through in a couple of hours that will convince you.
https://blog.miguelgrinberg.com/post/the...ello-world

If serious, there is also a completely revised version available for a small fee.
(I didn't write this, just think it's excellent work)
Reply
#4
So to sync Mailchimp with another system via API I need to use Flask?
Reply
#5
(Dec-28-2019, 01:37 PM)Larz60+ Wrote: If serious, there is also a completely revised version available for a small fee.
(I didn't write this, just think it's excellent work)

Thanks for the info. Can you tell me the location of revised version?
I have found the new website with the course, which charges $47
https://courses.miguelgrinberg.com/
It also has a Udemy course running for 30 euros (my local price)
https://www.udemy.com/course/flask-mega-tutorial/
Reply
#6
Here, the paid course is $39: https://courses.miguelgrinberg.com/
Reply
#7
(Dec-28-2019, 02:15 PM)kamaleon Wrote: So to sync Mailchimp with another system via API I need to use Flask?

Is that it?
Reply
#8
Can I use requests then with webhooks?
Reply


Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020