Connect to icobench.com API in R with public and private key
- or -
Post a project like this€10(approx. $11)
- Posted:
- Proposals: 4
- Remote
- #1899205
- Expired
Description
Experience Level: Entry
Hello,
I'm used to do data science in R. However I have to connect to icobench.com API, and I don't manage to authenticate with the private and public keys they give me.
Here is their web page in which they explain what to provide in the query : https://icobench.com/developers#manage_api_access
Here is my code in R :
privatekey = "private key they gave me"
publickey = "public key they gave me"
signature <- openssl::base64_encode(openssl::sha384("", privatekey))
req = GET("https://icobench.com/api/v1/icos/ratings",
authenticate("user@gmail.com" , "password"),
add_headers("X-ICObench-Sig"=signature),
add_headers("X-ICObench-Key"=publickey))
stop_for_status(req)
content(req)
I need someone to find the right code so I can authenticate properly.
I'm used to do data science in R. However I have to connect to icobench.com API, and I don't manage to authenticate with the private and public keys they give me.
Here is their web page in which they explain what to provide in the query : https://icobench.com/developers#manage_api_access
Here is my code in R :
privatekey = "private key they gave me"
publickey = "public key they gave me"
signature <- openssl::base64_encode(openssl::sha384("", privatekey))
req = GET("https://icobench.com/api/v1/icos/ratings",
authenticate("user@gmail.com" , "password"),
add_headers("X-ICObench-Sig"=signature),
add_headers("X-ICObench-Key"=publickey))
stop_for_status(req)
content(req)
I need someone to find the right code so I can authenticate properly.
Jean-Baptiste R.
0% (0)Projects Completed
-
Freelancers worked with
-
Projects awarded
0%
Last project
12 Dec 2024
France
New Proposal
Login to your account and send a proposal now to get this project.
Log inClarification Board Ask a Question
-
There are no clarification messages.
We collect cookies to enable the proper functioning and security of our website, and to enhance your experience. By clicking on 'Accept All Cookies', you consent to the use of these cookies. You can change your 'Cookies Settings' at any time. For more information, please read ourCookie Policy
Cookie Settings
Accept All Cookies