Skip to content

PathwayCommons/cpath2-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cpath2-client

Build with Maven

A fluent API Java client/library for Pathway Commons' RESTful web services, our large integrated BioPAX L3 database, from other Java projects, such as Cytoscape desktop (apps).

Use

//using Pathway Commons web service URL (default):
CPathClient client = CPathClient.newInstance();
// then, result=client.create*Query()...result() or ...stringResult(format), etc.

in a Maven project, add to the pom.xml the following:

  <repositories>
    <repository>
        <id>ossrh</id>
        <name>OSSRH Repository</name>
        <url>https://oss.sonatype.org/content/groups/public/</url>
    </repository>
  </repositories>
  <dependencies>
    <dependency>
        <groupId>pathwaycommons.cpath</groupId>
        <artifactId>cpath-client</artifactId>
        <version>1.0.0-SNAPSHOT</version>
    </dependency>
    <dependency>
        <groupId>org.biopax.paxtools</groupId>
        <artifactId>paxtools-core</artifactId>
        <version>6.0.0-SNAPSHOT</version>
    </dependency>
  </dependencies>

See also:

If you want to use an all-in-one (with dependencies) JAR in your Java/JPype project, get the latest cpath2-client-*-fat-jar.jar (from here).

ToDo:

  • Implement cPath2 v14 API v2 (coming soon) methods (only HTTP POST and JSON request body are used in the v2 API)

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages