Simple custom script that makes an API call and directs to a URL based on result of API call
$30-250 USD
Dibayar semasa penghantaran
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]
ID Projek: #21930010
Tentang projek
16 pekerja bebas membida secara purata $195 untuk pekerjaan ini
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 Lagi
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
⭐ 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 Lagi
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 Lagi
*****_ 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 Lagi
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 Lagi