url = 'http://www.patentsview.org/api/patents/query?'
query = (
    """q={"_or":[{"assignee_organization":"Apple"},{"_contains":{"assignee_organization":"Samsung"}}]}"""
    )
query += (
    '&f=["patent_number","patent_title","assignee_organization","inventor_last_name"]'
    )
results = requests.get(url + query)
results = results.json()
for r in results['patents']:
    pass
Querying PatentsView for patents of multiple assignee organization