|
7 | 7 |
|
8 | 8 | python-epo-ops-client is an [Apache2 licensed][apache license] client library |
9 | 9 | for accessing the [European Patent Office][epo]'s ("EPO") [Open Patent |
10 | | -Services][ops] ("OPS") v.3.2 (based on [v 1.3.16 of the reference guide][ops guide]). |
| 10 | +Services][ops] ("OPS") v3.2 (based on [v1.3.16 of the reference guide][ops guide]). |
11 | 11 |
|
12 | 12 | ```python |
13 | 13 | import epo_ops |
14 | 14 |
|
15 | 15 | client = epo_ops.Client(key='abc', secret='xyz') # Instantiate client |
16 | | -response = client.published_data( # Retrieve bibliography data |
| 16 | + |
| 17 | +# Retrieve bibliography data. |
| 18 | +response = client.published_data( |
17 | 19 | reference_type = 'publication', # publication, application, priority |
18 | 20 | input = epo_ops.models.Docdb('1000000', 'EP', 'A1'), # docdb, epodoc |
19 | 21 | endpoint = 'biblio', # optional, defaults to biblio in case of published_data |
20 | 22 | constituents = [] # optional, list of constituents |
21 | 23 | ) |
| 24 | + |
| 25 | +# Retrieve description. |
| 26 | +response = client.published_data( |
| 27 | + reference_type = 'publication', |
| 28 | + input = epo_ops.models.Docdb('1000000', 'EP', 'A1'), |
| 29 | + endpoint = 'description', |
| 30 | +) |
| 31 | + |
| 32 | +# Retrieve claims. |
| 33 | +response = client.published_data( |
| 34 | + reference_type = 'publication', |
| 35 | + input = epo_ops.models.Docdb('1000000', 'EP', 'A1'), |
| 36 | + endpoint = 'claims', |
| 37 | +) |
22 | 38 | ``` |
23 | 39 |
|
24 | 40 | --- |
|
0 commit comments