Find Jobs
Hire Freelancers

About 100 lines of boilerplate API code rewritten from C# to node.js

$30-250 USD

Completed
Posted almost 11 years ago

$30-250 USD

Paid on delivery
I have an API with sample code in C#. I would like the sample code to be rewritten in node.js and tested. -- SpyFuApiRequestBuilder Class -- This will probably be the bulk of the work. This is where the request is set up. It has 2 headers, Timestamp and Authentication. You'll want to make sure the datetime formatting is identical, otherwise the request will fail. Then on the Authentication header, it's basically a keyed HMAC where you're concatenating request elements into a string, then hashing that string with a secret key. One thing to pay attention to here is the ordering of the elements - the ordering needs to be the same, otherwise you could end up with a different hash than the server for the same request data. -- SampleRequest Class -- This class is fairly simple. All it does it use the SpyFuApiRequestBuilder class to build a request, then submits it, then verifies that it gets a reasonable result back. -- Testing Notes -- You can use the same username and secret key that are in the C# sample code. The server won't accept requests where the Timestamp is not within 15 minutes of the server time, so you should probably use the current time for each request you make while testing. Doing that should also avoid another possible little issue, which is that the server will only accept a given signature once (no repeated requests). If you just resign with a new datetime though, you should get a fresh hash that will work just fine.
Project ID: 4590290

About the project

8 proposals
Remote project
Active 11 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
Awarded to:
User Avatar
This is really simple, so let me do this. Regrads
$100 USD in 2 days
0.0 (0 reviews)
0.0
0.0
8 freelancers are bidding on average $144 USD for this job
User Avatar
Hi, please check PM.
$160 USD in 3 days
5.0 (1 review)
2.4
2.4
User Avatar
Greetings. My name is Jeremy Trammell and I represent a group of developers and designers in Portland, Oregon. We have extensive experience with Javascript, and node.js, and we would be happy to assist you with the conversion of your sample code. If you review our work history on this website you will see that we are also experienced at translating to/from C# (see https://www.freelancer.com/projects/PHP-ASP/Migration-API-into-Ruby-Python.html as an example, where C# is the language used in the ASP work).
$158 USD in 3 days
5.0 (1 review)
1.9
1.9
User Avatar
i can do it. i expert C# and javacsript. I convert help you. please check private message
$150 USD in 5 days
5.0 (1 review)
1.1
1.1
User Avatar
Well, I can try this.
$110 USD in 3 days
0.0 (0 reviews)
0.0
0.0
User Avatar
I have reviewed your C# code and Node.js equivalent is ease to implement. I can handle both your PHP and Node.js code rewriting projects.
$94 USD in 5 days
0.0 (0 reviews)
0.0
0.0
User Avatar
Hi, I'm a professional software developer and architect with great analytical skills and 10+ years of experience in creating desktop and web applications in C#. I'm ready to take this job
$180 USD in 3 days
0.0 (0 reviews)
2.2
2.2
User Avatar
Actively digging around node.js right now, ready to take the project and delivery ON TIME & quality
$200 USD in 5 days
0.0 (0 reviews)
0.0
0.0

About the client

Flag of UNITED STATES
Phoenix, United States
5.0
7
Payment method verified
Member since Jan 16, 2013

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.