This is a test version of Biostars. For the public version, visit https://www.biostars.org.
How to connect Franklin API with python

Franklin Genoox does not appear to be an open service (API), but I want to connect this with python. I am trying this code to get the variant:

import requests

url = "https://api.genoox.com/v1/variant/search?search_text=VHL:c.293A>G"

payload={}
headers = {}

response = requests.request("GET", url, headers=headers, data=payload) 
print(response.text)

But I am getting this error:

{"errors":["Authorization: header is required"]}

How can I solve this?

python

The Franklin API documentationhere and here suggests to me you need to login first and maybe get a token?

https://api.genoox.com/v1/auth/login?email={{user_email}}&password={{password}}

Maybe this or this will help guide you to the next steps.

could you plz explain more?

Sorry, it's hard to test something like this without an account. Do you have an account that offers support from the company?

yes I have account on both franklin and post master

Does that account come with any customer support? Because someone there may be able to fill you in on the specifics given you have the approach roughly worked out.

0 answers

No answers yet.

Log in to answer this question.