curl instead of file_get_contents

If you like we can take advantage from guzzle library
Merge pull request #3 from abhimanyusharma003/patch-1

curl instead of file_get_contents