Skip to content

ephesus/pairdata

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
bin
 
 
lib
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Pairdata

NOTE: This gem is in alpha. Pairdata is a wrapper for the USPTO's Pair Bulk Data public API https://pairbulkdata.uspto.gov/

Installation

Add this line to your application's Gemfile:

gem 'pairdata'

And then execute:

$ bundle

Or install it yourself as:

$ gem install pairdata

Usage

Create a pd object, and go to town.

client = Pairdata::Client.new()
res = client.pair_sync(searchText: '12432343')
puts res.appStatus
puts res.patentTitle

The only required field is searchText, which defaults to searching qf:applId

Search something else by adding a searchText and qf of your own

the result is a Pairdata::Result object.
full hash is res.response
number of responses is res.numFound

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/ephesus/pairdata.

License

The gem is available as open source under the terms of the MIT License.

About

API wrapper around the PAIR Bulk Data US patent office database

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published