5.4. Google Patents
Javinator9889 edited this page Aug 13, 2018
·
4 revisions
-
withPatentParams(self, params: GooglePatents)
: defines the PatentsParams for doing a search at Google Patents. AGooglePatents
object must be created.
from pyGle.values import GooglePatents
-
setOfficePatent(self, office_patent: OfficePatents)
: defines the OfficePatents where patents were pubished. -
setPatentStatus(self, status: PatentStatus)
: defines the PatentStatus of the patents to be searched. -
setPatentType(self, type: AvailablePatentTypes)
: set the PatentType of the patents to be searched.
Here is the format of the results, when job finishes:
[ {
'title': 'patent title',
'link': 'patent URL',
'cite': 'patent cite',
'description': 'patent description',
'image': 'patent image',
'status': 'patent status',
'presentation_date': 'patent presentation date',
'publication_date': 'patent publication date',
'inventor': 'patent inventor',
'assignee': 'patent assignee',
'general_description': 'patent general description',
'related_patents': 'URL of related patent',
'forum': 'URL of the patent forum'
},
{
'how_many_results': 'number of results found',
'google_stats': 'Google provided stats',
'stats': {
'overall_time': 'total time',
'google_search_time': 'Google searching time',
'parsing_page_time': 'time for parsing the results'
},
'url': 'Google Patents URL'
}
]