Update api.py
Merge pull request #1 from sahildua2305/master

Using requests module