Convert Javascript to PHP Code to get JSON Data from API
$250-750 USD
Paid on delivery
I am currently getting JSON data from an API. The data is being parsed with Javascript. Everything works the way it should with the JS code, but I need to retrieve the JSON data from the API on the server side in PHP. I need the current javascript variables to be PHP variables that I can call on the page to get the values I need in order to set the page title, META description and META keywords for each item.
There are 4 PHP files that display data and 1 PHP file with the "master" javascript that retrieves data from the API. These are the only files that should need to be modified.
I will provide the 5 PHP files with Javascript code in-lined and the API documentation. The JS code is commented and described in each file. Using the javascript method, everything is working perfectly except for the following:
- page title is being changed after page load (bad for SEO and indexing)
- need to create a META description tag using info from variables in the JSON data
- need to create a META keywords tag using info from variables in the JSON data
Since these variables need to be unique and come from the server side, using javascript to parse the API, while 100% working, is not really an option.
Retrieving the JSON data from API using PHP and then storing the current javascript variables as PHP variables should solve this issue.
Project ID: #7091775
About the project
Awarded to:
Hi! I can rewrite the API calls from javascript to PHP for you. I can do a sample page change and host it at my website so you can I see I can do the job. Send me the pages via chat, and I'll do it in a few hours.
28 freelancers are bidding on average $480 for this job
Hi, I am a top 7th full-stack freelancer. Please get in touch and discuss in detail. I can get started right now. Thanks. Sincerely!
George here based from Los Angeles, USA. I am expert in desired skills for this project and have done similar tasks already. Please get back to me, so I can show you some of the work I have done.
Hi Good Day I have worked a lot with JSON data parsing with API. I clearly understand what you need. I can do it on a fair price. Looking forward to hear from you. Thanks Rinsad
Hello! With 99% completion rate, 750 successfully completed projects, and a 5.00 reputation (maximum possible, 5.0) (Yes, not even 4.99 average rating, can be verified on my profile page https://www.freelancer.com/u More
expert api developer here. i can fetch jsaon api by php and do further processing. ready to start. thanks
Hi I work towards providing reliable, relevant and robust IT solutions at most competitive prices to my customers. I ensure 100% customer satisfaction so lets start Thanks
Hi there, I’ve read your brief and I am really willing to work with you. I am just interested in more details that you might give about the project. We have enough experience to help you with this project, o More
Hello. I am a PHP developer. I can work for you. Please look my reviews and send me a message. Thank you.
Hi there Thank you for posting this project. I could complete this project within 5 days. Looking forward to hear from you. Thanks & B/R
Dear Sir. i am a skilled PHP expert having worked for 9 yrs. I reviewed your job requirement carefully then placed a bid. I have good technical experience in completing such jobs. I can convert javascript More
Hello you! i can do it and finish 3 days. Please let me know.I looking forward on work your project. Thanks! Mr Khoa
Hello, I am an expert and experienced Developer.. I am perfect developer for this JOB.. I have many many many times have done work on API .. expecting your quick and +ve reply.. Thanks
Hello , I have read your project requirement and i am having more the 6+ years of experience team for PHP, JS developers are here and we are comfortable to convert js to php code to get json data from api . could More
Hi Sir I have read your project and ready to do this for you. I am a PHP developer kindly have a look at my profile for an idea of my work I will code this in 300$ and deliver it in 5 days kindly reply regards Ro More
Hello, I can do it as you want. I am on mobile so can't write much but you can see my previous and ongoing projects for any clearance. Kindly contact for further discussion. Thanks skype: ashishzworld
hello, I am very much excited to work with you. also if you will give me this opportunity I will be ready to work only for 150$. waiting for your positive response thanks, dinesh
Hello there, Hope all is well with you. I have gone through with your requirement and i am glad to let you know that we can certainly assist you in your requirement. We have developed many websites so far on More