Find Jobs
Hire Freelancers

About 100 lines of boilerplate API code rewritten from C# to Ruby

$30-250 USD

Cancelado
Publicado hace casi 11 años

$30-250 USD

Pagado a la entrega
I have an API with sample code in C#. I would like the sample code to be rewritten in Ruby 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.
ID del proyecto: 4590186

Información sobre el proyecto

4 propuestas
Proyecto remoto
Activo hace 11 años

¿Buscas ganar dinero?

Beneficios de presentar ofertas en Freelancer

Fija tu plazo y presupuesto
Cobra por tu trabajo
Describe tu propuesta
Es gratis registrarse y presentar ofertas en los trabajos
4 freelancers están ofertando un promedio de $211 USD por este trabajo
Avatar del usuario
I am confident to help
$388 USD en 7 días
4,2 (1 comentario)
3,8
3,8
Avatar del usuario
I have good hand with this project. I already did that kinda project. check pm
$144 USD en 3 días
5,0 (2 comentarios)
3,1
3,1
Avatar del usuario
can do this for you
$155 USD en 3 días
0,0 (0 comentarios)
0,0
0,0
Avatar del usuario
I can do this sir.
$155 USD en 3 días
0,0 (0 comentarios)
0,0
0,0

Sobre este cliente

Bandera de UNITED STATES
Phoenix, United States
5,0
7
Forma de pago verificada
Miembro desde ene 16, 2013

Verificación del cliente

¡Gracias! Te hemos enviado un enlace para reclamar tu crédito gratuito.
Algo salió mal al enviar tu correo electrónico. Por favor, intenta de nuevo.
Usuarios registrados Total de empleos publicados
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Cargando visualización previa
Permiso concedido para Geolocalización.
Tu sesión de acceso ha expirado y has sido desconectado. Por favor, inica sesión nuevamente.