Skip to content

Commit

Permalink
Bump to version 0.0.4
Browse files Browse the repository at this point in the history
  • Loading branch information
ning-y committed Dec 8, 2020
1 parent 557dcc1 commit 186e1d6
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
16 changes: 16 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,22 @@ A Java wrapper for the [RCSB PDB RESTful Web Service](https://www.rcsb.org/pdb/s
I wrote this module specifically for the Android application [*Palantir*](https://github.com/ning-y/palantir), so I've only implemented what was necessary.
Contributions are extremely welcome!

## Example

```java
try {
TextSearch textSearch = new TextSearch(queryString);
String[] results = textSearch.getPage(); // PDB IDs
for (String pdbId : results) {
Pdb pdb = new Pdb(pdbId);
pdb.load()
System.out.println(pdbId.getTitle());
}
} catch (IOException e) {
e.printStackTrace();
}
```

## Development guide

### Testing
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>io.ningyuan</groupId>
<artifactId>jPdbApi</artifactId>
<version>0.0.4-SNAPSHOT</version>
<version>0.0.4</version>
<packaging>jar</packaging>
<name>jPdbApi</name>
<description>Java wrapper for the RCSB PDB RESTful Web Service</description>
Expand Down

0 comments on commit 186e1d6

Please sign in to comment.