How to connect Franklin API with python
0
0
Entering edit mode
2.4 years ago
anasjamshed ▴ 120

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 • 1.8k views
ADD COMMENT
0
Entering edit mode

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.

ADD REPLY
0
Entering edit mode

could you plz explain more?

ADD REPLY
0
Entering edit mode

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

ADD REPLY
0
Entering edit mode

yes I have account on both franklin and post master

ADD REPLY
0
Entering edit mode

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.

ADD REPLY

Login before adding your answer.

Traffic: 1815 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6