from aylienapiclient import textapi
import api_access

client = textapi.Client(api_access.id, api_access.key)

url = "http://techcrunch.com/2015/04/06/john-oliver-just-changed-the-surveillance-reform-debate"
extract = client.Extract({"url": url, "best_image": True})

print(type(extract))
print(extract["title"])

6a4e827de9ff591744cf6585d149a60712680f19
<mask token>

<mask token>
print(type(extract))
print(extract['title'])

<mask token>
client = textapi.Client(api_access.id, api_access.key)
url = (
    'http://techcrunch.com/2015/04/06/john-oliver-just-changed-the-surveillance-reform-debate'
    )
extract = client.Extract({'url': url, 'best_image': True})
print(type(extract))
print(extract['title'])

from aylienapiclient import textapi
import api_access
client = textapi.Client(api_access.id, api_access.key)
url = (
    'http://techcrunch.com/2015/04/06/john-oliver-just-changed-the-surveillance-reform-debate'
    )
extract = client.Extract({'url': url, 'best_image': True})
print(type(extract))
print(extract['title'])

from aylienapiclient import textapi
import api_access

client = textapi.Client(api_access.id, api_access.key)

url = "http://techcrunch.com/2015/04/06/john-oliver-just-changed-the-surveillance-reform-debate"
extract = client.Extract({"url": url, "best_image": True})

print(type(extract))
print(extract["title"])
