In Progress

Simple custom script that makes an API call and directs to a URL based on result of API call

With this project, you will be using the Google My Business Private API

Requirements Of The Script You Write:

Write a script that will be placed on my webserver which is already setup and working, php is already installed on the server.

Retrieval of data, store data result on server and redirect user to a URL based on data result.

Use OAuth 2.0 (you will be provided with a [login to view URL] file which is already granted access to the API we will be using)

This is to be securely stored on my server and put in place by you for the script written to access for each API request.

I want as much written server side possible and to remain private.

Here is what the script must do when a request:

Example: [login to view URL] (will run [login to view URL])

Script check the last time it called the API in minutes, if it has been less than 120 minutes. The script will not call the API again.

If it has been greater than 120 minutes, the script will make a fresh API call and update the data file.

If a fresh API call is needed, the script Make a fresh GET request to the API

The API will query for 3 fields, each field will return a numerical number as low as 0 and as high as 99999

The script stores this data in a datafile you create on the server along with a date & time stamp it last called the api. Data file is to be stored in a secure folder on the server not accessible from www.

The data file will contain each number it got from the API, example

Result1=7, Result2=3, Result3=9,

Based on result, it will redirect the user to a URL of my choice. In my case, whichever is the lowest number. So in this example, result 2 is the lowest number so it would redirect the user to ResultURL2. In the even the numbers return the same the computer may randomly pick one or whatever is first in the list. It really doesn’t matter

End Script

You must include the following in the data file:

LastApiCallDate=10-10-2019

LastApiCallTime=01:07 PM CDT

Minutestowait=120

ResultURL1=[login to view URL]

ResultURL2=[login to view URL]

ResultURL3=[login to view URL]

Skills: PHP, Software Architecture, Javascript, MySQL, HTML

See more: simple ajax script, download simple proxy script, html simple redirect script, google apps script web app example, make api call from google sheets, google sheet script api, google api, google apps script url fetch, google apps script oauth2, google apps script rest api, google apps script dopost, simple download script, simple portfolio script, simple rsvp script, simple htaccess script, simple math script plus, simple email script, simple company script, simple perl script mysql delete, simple gallery script flash

About the Employer:
( 3 reviews ) BLAINE, United States

Project ID: #21930010

Awarded to:

TeamDPS

hi sir am ready to do that for you . myself 7 years experienced web developer having good knowledge of API calling. for assurance if quality work check my reviews. ping me for more discussion

$120 USD in 2 days
(21 Reviews)
3.8

20 freelancers are bidding on average $181 for this job

A2Design

Hello! We are A2 Design, a Russian-Canadian web development company. Having the required skills, we will be glad to help you with your project. We have some questions for you to clear up before we start. Please m More

$350 USD in 3 days
(123 Reviews)
8.7
polarjin2017

Hello? How are you? I am excited to work with you on backend coding. Here are my working result for php, mysql, api integration, ajax, jquery etc. [login to view URL] [login to view URL] https:/ More

$155 USD in 3 days
(162 Reviews)
7.1
luiswilliam

Hi, Dustin D.! I read the description of your project thoroughly. I understand your requirements initially and I have experiences of the field. I am a specialist of: * React.js, Angular for Front-end, * .NET Core AP More

$140 USD in 2 days
(87 Reviews)
6.9
yuriyes43

Dear Sir! I’d like to describe myself as someone who is versatile and determined and someone who loves learning. I am creative, open-minded and easy going and I enjoy working with others. And I tried to use all these q More

$150 USD in 1 day
(109 Reviews)
7.0
espsofttech

Hi there, Yes, we can build a simple custom script that makes an API call and directs to a URL based on result of API call .We have done similar work before. Please have a look: https://www.freelancer.in/projects/php More

$400 USD in 7 days
(153 Reviews)
7.5
romansokolv708

Hi, Sir. I'm already ready to work for you with clear understanding of what you want. I'm confident for your API job. I have a rich experience with PHP/Javascript/MySql/HTLM for 5+ years. You can see my creations: ht More

$140 USD in 7 days
(39 Reviews)
5.8
sunilsunil02

++++++ I'M READILY AVAILABLE. +++++++ I have read your requirement carefully I think I'm a great fit for this project because I am having more than 7+ years of experience and I have done some great work based on PHP & More

$140 USD in 7 days
(16 Reviews)
5.6
risharde

Dear Sir/Madam, I am an application developer with over 10 years of coding experience. I have read your requirements and can provide such a script that will deliver your requirements. I am also a full stack developer w More

$110 USD in 3 days
(26 Reviews)
5.5
Jsharma44

Hello I understand your project requirements and can write api wrapper around Google business api which will implement your logic. It won't make api call again if requirements are not met. Let me Relevant Skills and More

$235 USD in 3 days
(27 Reviews)
5.2
seniorcoder024

Dear client. I have read your all descriptions carefully and I am sure that I can complete your project in time and at high quality. As a full-stack developer, I have recommended skills in Front-end and Back-end develo More

$140 USD in 7 days
(21 Reviews)
5.0
BestService222

⭐ Dear Client. ⭐ How are you? I'm a senior web&app developer with over 8 years of experience and very strong in this field. If you want to work with me, I am sure I can deliver you a wonderful result as you want. Plea More

$140 USD in 7 days
(33 Reviews)
5.7
liumuyan

⭐Dear Sir, Thanks for your positng. It seems to be an interesting work and good opportunity to show my skills to work with you in future as well. I have read your description carefully with good experiences in the skil More

$140 USD in 7 days
(22 Reviews)
4.6
baidyamadhu007

I am a Php developer.I also expert in wordpress.I have been worked during 7 yrs in Jquery/Javascript and core php also.I have been worked on that field during 7 years of experience with that filed. I am able to crea More

$120 USD in 1 day
(4 Reviews)
3.6
PageOllice

Greetings, My name is Page and I have been working from last 8 years in IT field. I am very much interested in your project and would like to invite you for further discussion over chat board. Waiting for your positi More

$200 USD in 7 days
(7 Reviews)
3.5
mattjparker1104

⭐ Hello, Sir! ⭐ Nice to meet you. I am a fullstack web developer with over 8 years on web development. ****In SPECIAL Very familiar with Website design, PHP, Wordpress, Javascript, CSS, Laravel, Angular.js, Node.js, Co More

$140 USD in 7 days
(7 Reviews)
2.8
mihail99999

*****_ Hello Dustin D. _***** How are you ? https://www.freelancer.com/u/mihail99999?w=f I have read your detail very carefully and understood what you want. I am very familiar PHP and using api. I have checked your More

$150 USD in 3 days
(2 Reviews)
2.4
tkmud91

Hi, thanks for your job posting. I am good at API and script design and development. I have developed multiple websites similar to your requirements. Frankly to say, I have 10+ years of software experience. The most im More

$100 USD in 7 days
(1 Review)
1.1
nitinwebtech

I am an experienced mobile app and Website developer with 7+ year experience. I have made a lot of excellent apps and published on Google Play Store and App Store. I specialize in: - GPS tracking and all kind of Maps More

$300 USD in 7 days
(0 Reviews)
0.0
Filiumenterprise

Dear Sir, Read your requirements, and our skills match the required implementation. We are a fast-growing company and have well-trained resources available to initiate your project immediately. Below, are a few introd More

$250 USD in 25 days
(1 Review)
0.0