Populate data from Google maps places api into database

Salman Arshad K.GLAUCO M. have already sent a proposal.
  • 9


Experience Level: Intermediate
I need to fetch list of all the sports, adventure, fitness venues within a city, along with the different sports activities done by them as well as their timings, contact details, images, etc. Here are the details:

1. Create the entire code in PHP
2. Create a loop which will fire google maps location api for list of activities in our db, one activity at a time with a gap of 5 minutes (i should be able to change this duration)
3. for each activity, create another loop to get list based on different lat long and radius combination so that entire city is covered (say a 100x100 km rectange). This loop should fetch list for a different lat long after 5 mins, i should be able to change this duration. And then it will fetch for next lat long after next 5 mins till the loop is over.
4. Store details of each location in the attached tables. The maps api fetches only 20 results at a time and another 40 or 60 are available from next pages. Get me ALL locations. For each location, you may have to fire google maps places details api for detailed information.
5. store google places id so that I know if google is sending me same location or venue. Store all details in the tables I have provided. You can add more columns if needed but please use the SAME tables.
6. You will also have to fetch the images of the location and store in a structured folder on local server. The path of image should be stored in tables, some examples are attached in sql.
7. You will have to use your own google maps api key for testing.
8. Once you give me the code, I will use my google maps api key and test on my server for 2-3 activities.
9. If anything is not working on my server, you will have to help me fix it. I use ubuntu server
10. Its a short assignment. Payment will be done ONLY in end, after all above steps are completed. Please do not ask for payment before handing over code. That is against freelancer rules.

If I am not available on chat, please still send me your questions. I need this work to be completed within 2 days. If you cannot complete in 2 days, I will not make any payment and my request is, please do not bid for this project.

If you have any questions, please make sure you clarify everything before you start work. I don't like delays.

New Proposal

Create an account now and send a proposal now to get this project.

Sign up

Clarification Board Ask a Question

  • Stefon A.

    Does the code have to be in PHP? If you are able to accept it in .NET/ASP I can do this and so can many other freelancers here.

    Puneet K.25 Oct 2019

    it has to be in PHP only.