Created
April 14, 2016 21:26
-
-
Save ReedJessen/b75db64da4eb2c5c5c34517eb53d462d to your computer and use it in GitHub Desktop.
Searches for patents owned by the supplied entity name
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import json | |
import requests | |
def search_by_owner(entity_name): | |
endpoint = 'https://api.ipstreet.com/v1/data/patent' | |
headers = {'x-api-key': "Your_IPStreet_API_Key"} | |
payload = json.dumps({'q': {"owner":entity_name}}) | |
r = requests.post(endpoint, headers=headers, data=payload) | |
return r |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment