Skip to content

Updates #143

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 12 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
language: node_js
node_js:
- 0.12
- node # latest stable Node.js release

sudo: false

Expand Down
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,11 @@ Citation.find("that term in section 5362(5) of title 31, United States Code.", {
}]
```

### `Citation.fromId(id, options)`

Returns the same information as `Citation.find`, but instead of passing a textual citation, an identifier
in the format of the `id` given in the output of `Citation.find` (see above) is given.

## HTTP API

Start the API on a given port (defaults to 3000):
Expand Down
Loading