Find Jobs
Hire Freelancers

Javascript API call using async/await

£10-35 GBP

Avslutat
Publicerad över fem år sedan

£10-35 GBP

Betalning vid leverans
Hello. I have some code that nearly does what I require - which I have uploaded. I want to query an API and return the results within my script. The API has two types, both of which I need my script to be able to query. "realtime" which returns the data straight away "queue" which returns an reportID, which you then need to query with "get" to get the data Criteria: [login to view URL] use async/await not promises 2. Must be able to handle "realtime" and "queue" types of requests 3. For the "queue" type of request, if "report_not_ready" is returned, wait 1 second and try again with the same reportID 4. For queue, give up if after 3 times it fails. Design: I want there to be a small main function which I put on my page, which calls out to a large function which does the API call. This small function will not only define the variables which will be sent with the API query (i.e like report type), but will also get the data returned to it, so I can determine what to do with it (simple example, put in an alert box). I've done a lot of the work in my attached file, but you will see that it doesn't meet the criteria above, so I need your help getting it to work. The API is secret, so I am afraid you will not be able to test with it, but you will see the code is not that complicated.
Project ID: 17929075

Om projektet

9 anbud
Distansprojekt
Senaste aktivitet fem år sedan

Ute efter att tjäna lite pengar?

Fördelar med att lägga anbud hos Freelancer

Ange budget och tidsram
Få betalt för ditt arbete
Beskriv ditt förslag
Det är gratis att registrera sig och att lägga anbud på uppdrag
9 frilansar lägger i genomsnitt anbud på £25 GBP för detta uppdrag
Använd avatar
Hi, It seems like a pretty straight-forward work. I would love to work on this json data fetching from the api for you using asynchronous and await calls. Contact me via chat and we can start this work asap.
£25 GBP Om 1 dag
5,0 (13 omdömen)
5,4
5,4
Använd avatar
Hello Sir/madam, I’m excited to share with you the proposal for the website . I’m truly excited to be working with you on your project . I look forward to your response. I have 2 years experience of web technology like PHP, Jquery , Javascritp,Laravel,Angular Js and Node Js technology. Regards,
£34 GBP Om 10 dagar
5,0 (8 omdömen)
3,8
3,8
Använd avatar
I can do it .
£26 GBP Om 10 dagar
5,0 (6 omdömen)
2,2
2,2
Använd avatar
İ can do it i am professional and i need money please give me a chance
£26 GBP Om 10 dagar
0,0 (0 omdömen)
0,0
0,0
Använd avatar
Can use dummy data in Json file and test application. Send the just data scama which need to pulled in report or just MSSQL database structure.
£26 GBP Om 10 dagar
0,0 (0 omdömen)
0,0
0,0
Använd avatar
Simple task, enjoy working with apis, all will be good! Plenty of experience in Javascript and editing custom code.
£13 GBP Om 1 dag
0,0 (0 omdömen)
0,0
0,0
Använd avatar
I have done several async API Calling in past projects and love to work on this project, Please let me know if you wanted to do.
£26 GBP Om 10 dagar
0,0 (0 omdömen)
0,0
0,0

Om kunden

Flagga för UNITED KINGDOM
Sevenoaks, United Kingdom
4,9
6
Verifierad betalningsmetod
Medlem sedan feb. 10, 2011

Kundverifikation

Tack! Vi har skickat en länk för aktivering av gratis kredit.
Något gick fel med ditt e-postmeddelande. Vänligen försök igen.
Registrerade Användare Totalt antal jobb publicerade
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Laddar förhandsgranskning
Tillstånd beviljat för geolokalisering.
Din inloggningssession har löpt ut och du har blivit utloggad. Logga in igen.