-
Couldn't load subscription status.
- Fork 75
Description
Hi,
I'm working on creating on interactive visualization using d3. I'd like to use the API to pull snake plot svgs. I started by pulling the snake plot svg from gpcrdb manually.
For example https://gpcrdb.org/protein/oprd_human/ -> download -> svg
It downloads the svg as an XML and it works perfectly for my purposes.
When I use the API , I use a request URL like this, https://gpcrdb.org/services/plot/snake/oprd_human
and it downloads a json. When I convert that json to XML, I notice that there are some big differences between it and the XML that I downloaded manually. For example, the XML that I download manually has a ViewBox element, while the one pulled from the API doesn't.
Is there a way to get snakeplot pulled from the API to be the exact same as the one pulled manually from the db?