simple code translation from PHP to, Ruby, Python, Java

This project was successfully completed by eMaM151987 for $40 USD in a day.

Get free quotes for a project like this
Employer working
Completed by:
Skills Required
Project Budget
$30 - $250 USD
Completed In
1 day
Total Bids
Project Description


I've got function, which can be called over HTTP. There are two possibilities:

1) you call[url removed, login to view] -> returns a file to the caller
2) you call -> returns a line of text indicating a URL

In PHP I would do the following to handle both situations:

ad 1)
$apikey = 'xxxx';
$url = '[url removed, login to view]';
$request = "[url removed, login to view]$apikey&url=$url";
$result = file_get_contents($request);

ad 2)
the same as above and then the following line:
header("location: " . $popup);

I need one or more people who can translate this code to [url removed, login to view], Ruby, Python, Java and Perl.

You must also be able to demonstrate this code working. I will of course give you a real working example of a URL returning files.

Please respond with your offer and indicate to which language(s) you can translate and for which price. You must finish within one day upon acceptance.

Looking to make some money?

  • Set your budget and the timeframe
  • Outline your proposal
  • Get paid for your work

Hire Freelancers who also bid on this project

    • Forbes
    • The New York Times
    • Time
    • Wall Street Journal
    • Times Online