Skip to content

Question on how to use the REST API without Python #40

@RiboRings

Description

@RiboRings

Hello!

I am trying to programmatically access data from enviPath using the REST API. While these API docs list the available commands, I could not find any examples on how to use the API from the command line, or how to build the address to the different endpoints.

I also tried to back-engineer it from the Python API, but I didn't get that far. In practice I would like to retrieve information like nodes/edges of each pathway using the REST API on command line, and later adapt it to R for a current project.

Also, is this code from the README still relevant, or is the beta version now released?

eP = enviPath('https://beta.envipath.org/api/legacy/', new_api=True)
eP.login(<username>, <password>)

P.S., I tried to sign up to the forum to ask there, but I am getting an error:

New registrations are not allowed from your IP address.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions