İptal Edildi

JavaScript coding to read JSON data.

I have a URL that provides a JSON feed, and I'd like somebody to code some JavaScript to output data from this feed.

I have a question though, in the feed request URL it requires you to put your API Key & API Secret, e.g. [url removed, login to view] - will this be hidden within the JavaScript code or will these values be visible if somebody was to view the source code of the page?

Is there a way we could potentially hide these values such as using PHP to request the data before it's passed to the JavaScript or something?

Any bids placed without answering this will be ignored.

Thank you.

Beceriler: Javascript

Daha fazlasını gör: key coding, json, json c, javascript coding website, api secret key, php read json, JavaScript JSOn, php json output, data hide, php output json, javascript json api, hide javascript hide, php json api, json output, source code url javascript, json api php, hide javascript data, javascript page hide, php api json, code using php javascript, api data feed, json website, javascript thank page, javascript code hide, feed json

İşveren Hakkında:
( 65 değerlendirme ) Middlesbrough, United Kingdom

Proje NO: #6547829

Bu iş için 33 freelancer ortalamada $115 teklif veriyor


Hi, about your question , with javascript can't protect api key , but can with php, example javascript will first read php on your server and that php will read referer ip if that call from your web page then will read Daha Fazla

in %bids___i_period_sub_35% gün içinde166%project_currencyDetails_sign_sub_37% %project_currencyDetails_code_sub_38%
(72 Değerlendirme)

Nice to meet you! I have read your description and been interested in your project. I'm ready to discuss and start to work on it now. ==================================== Please discuss before awarding the proje Daha Fazla

in %bids___i_period_sub_35% gün içinde220%project_currencyDetails_sign_sub_37% %project_currencyDetails_code_sub_38%
(99 Değerlendirme)

Hi A good solution to protect the api key would be a cron php which will read the json file and save it on server, the javascript would read this json file - or - if the json file's url is changing the javascript wo Daha Fazla

in %bids___i_period_sub_35% gün içinde100%project_currencyDetails_sign_sub_37% %project_currencyDetails_code_sub_38%
(26 Değerlendirme)

Dear Client, I can help in your project. We have already experience of working on similar projects. Please see below to get idea of my similar experience: Amazon/Ebay Bots: [url removed, login to view] Daha Fazla

in %bids___i_period_sub_35% gün içinde210%project_currencyDetails_sign_sub_37% %project_currencyDetails_code_sub_38%
(19 Değerlendirme)

I have read your project description, i understand what you want, and i would like to offer you my services. First answer to your question: it would be better to hide the requests in PHP. I have worked on similar proje Daha Fazla

in %bids___i_period_sub_35% gün içinde100%project_currencyDetails_sign_sub_37% %project_currencyDetails_code_sub_38%
(48 Değerlendirme)

Yes, It could be hidden easily. I have a lot of experience in web applications development. I have developed many websites using PHP, MySQL, jQuery, Javascript, AJAX, HTML5, Wordpress, Facebook API, etc. I can fix your Daha Fazla

in %bids___i_period_sub_35% gün içinde249%project_currencyDetails_sign_sub_37% %project_currencyDetails_code_sub_38%
(19 Değerlendirme)

Hi The API key and secret can be hidden. We can access it indirectly through a PHP file. Javascript will access to an URL like [url removed, login to view] . Hope you can consider my bid and pick me Daha Fazla

in %bids___i_period_sub_35% gün içinde167%project_currencyDetails_sign_sub_37% %project_currencyDetails_code_sub_38%
(42 Değerlendirme)

hello there, yes we can encode using php function and pass encode data into [url removed, login to view] and decode there and call for feed. thanks

1 gün içinde %bids___i_sum_sub_32%%project_currencyDetails_sign_sub_33% USD
(30 Değerlendirme)

Hi, I'm willing to help you with your project. As for your question I think the best and the most safest way to secure secret information is to request the JSON news feed using back-end (PHP in your case). When the bac Daha Fazla

in %bids___i_period_sub_35% gün içinde55%project_currencyDetails_sign_sub_37% %project_currencyDetails_code_sub_38%
(3 Değerlendirme)

Hello. Considering your question yes its possible to use javascript in relation with php so the php file with api key and secret will reside on your server and javascript will only see the json data and initialize t Daha Fazla

1 gün içinde %bids___i_sum_sub_32%%project_currencyDetails_sign_sub_33% USD
(34 Değerlendirme)

Hi, about the questions you asked, I'm not sure which API service you're using, because that depends, but the from looking at the URL the apiSecret is MUST be protected from unauthorized people such as n3rds ;) however Daha Fazla

in %bids___i_period_sub_35% gün içinde60%project_currencyDetails_sign_sub_37% %project_currencyDetails_code_sub_38%
(26 Değerlendirme)

According to your question, you're right. If we use ajax call via javascript, the api ( will be sent as parameter) will be view in source code. You can obfuscate the code but it is easy to decode. My solution is use cu Daha Fazla

in %bids___i_period_sub_35% gün içinde50%project_currencyDetails_sign_sub_37% %project_currencyDetails_code_sub_38%
(22 Değerlendirme)

OK, here is my answer for the problem with API key: Solution 1: - We keep the request URL (with API key) on server in PHP script - We then get the API using AJAX and execute the call for JSON data - At the end we Daha Fazla

in %bids___i_period_sub_35% gün içinde100%project_currencyDetails_sign_sub_37% %project_currencyDetails_code_sub_38%
(20 Değerlendirme)

Hello! We have two possible options to hide that data into the code. One of them is to create an intermediary PHP file, which gets the data from your url, and serves it to the script. I believe this is the best option. Daha Fazla

in %bids___i_period_sub_35% gün içinde170%project_currencyDetails_sign_sub_37% %project_currencyDetails_code_sub_38%
(15 Değerlendirme)

Hello ! I am interested in this project and I would like to work ! I can hide that using php , easily.

in %bids___i_period_sub_35% gün içinde66%project_currencyDetails_sign_sub_37% %project_currencyDetails_code_sub_38%
(19 Değerlendirme)

we can use php as a proxy for that request and then apikey won't be visible to the public. Will be happy to build JS and PHP scripts for you

in %bids___i_period_sub_35% gün içinde54%project_currencyDetails_sign_sub_37% %project_currencyDetails_code_sub_38%
(6 Değerlendirme)

Hello, There are 2 ways this can be done 1. call the JSON feed from PHP using AJAX ,parse the JSON in PHP then output to the HTML page. 2. call the JSON feed from PHP using AJAX, parse the JSON with Javascript then Daha Fazla

1 gün içinde %bids___i_sum_sub_32%%project_currencyDetails_sign_sub_33% USD
(8 Değerlendirme)

hi, my name is shahid, i am working in web development from past four year. Will provide you quality work and hopefully we will have long term relationship in web development. let me know if i can help you. yes it Daha Fazla

in %bids___i_period_sub_35% gün içinde66%project_currencyDetails_sign_sub_37% %project_currencyDetails_code_sub_38%
(22 Değerlendirme)

hello. I would do it using javascript with just one page of asp.net technology to hide those details and return back the requested data hidden from the clients. this will require an IIS server.

1 gün içinde %bids___i_sum_sub_32%%project_currencyDetails_sign_sub_33% USD
(18 Değerlendirme)

Hi, I am Umadevi, having 6+ years of experience in HTML,JavaScript,JQuery,Java,J2EE working in MNC, for developing web based product. I will do this job. Please contact me with the details

in %bids___i_period_sub_35% gün içinde155%project_currencyDetails_sign_sub_37% %project_currencyDetails_code_sub_38%
(6 Değerlendirme)