You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This issue is tracking the work to implement the EP Register endpoints on patent_client. At least for the moment, @xi2pi has volunteered to make a run at this.
This issue will track notes and thoughts on implementation details. For starters, let's do the EPO Search, which should look a lot like the Inpadoc search as an example, which is implemented in 4 files:
API Wrapper - src/patent_client/epo/ops/published/api.py
Write an API Wrapper at src/patent_client/epo/ops/register/api.py that just returns raw XML data. Don't worry about processing it, just get it to return the right XML data from the EPO endpoint. Use the PublishedSearchAPI in the published/api.py file as an example.
Write a Schema at src/patent_client/epo/ops/register/schema.py that converts the raw XML data into a Python dictionary with the data attributes you want. Use the SearchSchema class and InpadocSchema classes in published/schema/search.py as examples.
Write a Model at src/patent_client/epo/ops/register/model.py to hold the data the Schema produced. Use the Search and Inpadoc classes in published/model/search.py as examples.
Write a Manager at src/patent_client/epo/ops/register/manager.py that will serve as the manager for the EP Register resource. use the SearchManager class in published/manager.py as an example.
And please let me know if you have any questions or concerns!
The text was updated successfully, but these errors were encountered:
This issue is tracking the work to implement the EP Register endpoints on patent_client. At least for the moment, @xi2pi has volunteered to make a run at this.
The endpoints we'd want to include are:
These can be played around with at (https://developers.epo.org/ops-v3-2/apis). They are also documented in the EPO OPS documentation at pages 103-112.
A (broken) example of use is in the documentation:
This issue will track notes and thoughts on implementation details. For starters, let's do the EPO Search, which should look a lot like the Inpadoc search as an example, which is implemented in 4 files:
I would suggest this order for development:
Write an API Wrapper at src/patent_client/epo/ops/register/api.py that just returns raw XML data. Don't worry about processing it, just get it to return the right XML data from the EPO endpoint. Use the
PublishedSearchAPI
in the published/api.py file as an example.Write a Schema at src/patent_client/epo/ops/register/schema.py that converts the raw XML data into a Python dictionary with the data attributes you want. Use the
SearchSchema
class andInpadocSchema
classes in published/schema/search.py as examples.Write a Model at src/patent_client/epo/ops/register/model.py to hold the data the Schema produced. Use the
Search
andInpadoc
classes in published/model/search.py as examples.Write a Manager at src/patent_client/epo/ops/register/manager.py that will serve as the manager for the EP Register resource. use the
SearchManager
class in published/manager.py as an example.And please let me know if you have any questions or concerns!
The text was updated successfully, but these errors were encountered: