Friday 16 September 2016

PyLadies Meetup Event Report


We had our pyladies meetup this Saturday, last week we were not able to do as in Maharashtra, there is a festival Ganesh Chaturthi, honouring the birth of Lord Ganesha it is celebrated for ten days so we planned to do meet this week instead of last week. Again it was great meetup, started with Nisha Menon’s talk “The practical usage of Python", but unfortunately I missed it this time : ( , when I reached she was about to finish. I was late as that morning I decided to try something new in breakfast ie radish parathas that took a lot of time to prepare, but that was a good experiment as they were mouth-watering. So after having a delicious parathas with curd and pickle I reached there, and took my seat, everyone was already ready with their laptop, this time there were lot of new faces, many new student had come to attend the meetup, without delaying anymore I also get started as by that time Nisha talk was ended and she invited Trishna for her session. 


She was going to take a session on “Using WEB API in Python3 “. So before starting she just confirmed how many of us were familiar with Python basics, as it was discussed in previous meetup. But still for the new members and to brush up our knowledge she revised all the basics to keep us all on a same platform. Although it was a revision session but she explained each and everything and gave time to all of us to try the different commands on our terminal and solved everyone queries. Thanks to her for that, then she discussed about the things which we were going to do in our workshop that day. She has chosen a great topic and problem for the workshop. We were going to use the API of Zomato website. It seems very interesting as it was about food, and everyone love that. So we generated an API_KEY for that, by that time it was the time for lunch, so we all went for lunch. 


Kushal and Praveen ordered lunch for us, thanks to them to fill our hungry tummy. During lunch we all had discussion on different topics related to python and other stuffs.  Also Kushal took the students for a small walk in redhat. After lunch we all gathered in the same room named Harishchandgarh which reminds me of King HARISHCHANDRA who never lied and always kept his promise. We all were set, one of us was facing problem with her laptop, as she was having a window laptop, so it was suggested by Kushal to switch to linux as it is far easy to handle problems on it and its best if we want to contribute to development side or  to any project. So for that time a laptop was arranged for her with linux. Then we all were set to start. 

Trishna made us familiar with “requests” module in python3 which is the only Non-GMO HTTP library for Python. We all installed the requests module as it was required for the session from the below commands.
  • dnf install python3-requests
So the task was we have to list out the nearby restaurants to our current location, for that we used the longitude and latitude to provide our current location. We wrote a python3  program for searching the restaurants, added to it also the url for menu and we were able to list the nearby restaurants with menu url near Magarpatta, the list was as below for restaurants names if someone want to visit any:
  • Deccan Harvest
  • Cuba Libre
  • Wah Marathi Dine N Wine
  • TGI Fridays
  • Rajdhani Thali Restaurant
  • Eagle Boys Pizza
  • Charcoal Grill
  • The Waffles Hut
  • Barbeque Nation

Then we played with the code , Trishna assigned us to find the restaurants which have chinese cuisine and we all tried that ourself and found out one restaurants from above restaurants which have chinese cuisine => Deccan Harvest
After completing it we started playing with the code to find out the various other things like finding User rating, currency accepted, photo url for different restaurants. With this the event ended, with a discussion to meet next month.

1 comment:

  1. Sounds like awesome workshops! Thanks for sharing your event report. :)

    ReplyDelete