Skip to main content

python interface for yql

Project description

##YQL
[![Build Status](https://travis-ci.org/plasmashadow/yql.svg?branch=master)](https://travis-ci.org/plasmashadow/yql)
[![PyPI version](https://badge.fury.io/py/yql.svg)](http://badge.fury.io/py/yql)

##Description:
YQL is a thin wrapper for Yahoo Query Language.

##Installation:

```python
pip install yql

```

##Usage

Inorder to create a yahoo request you can use a YRequest call from YQL.

```python
from yql import YRequest
import logging

log = logging.getLogger(__name__)

y = YRequest(table="html")
y.add_filter("url", "http://en.wikipedia.org/wiki/Yahoo")
response = y.json()
log.info(response)

```
Since yql comes with the Object mapper you can directly reference the
sub keys of a json.

```python

log.info(response.query.count)

```

##LICENSE
MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

yql-1.0.1.tar.gz (4.7 kB view details)

Uploaded Source

File details

Details for the file yql-1.0.1.tar.gz.

File metadata

  • Download URL: yql-1.0.1.tar.gz
  • Upload date:
  • Size: 4.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for yql-1.0.1.tar.gz
Algorithm Hash digest
SHA256 bfc850138ca2083aa6f892cccb0b2d845c4fe5a68d759dd3ab0165f2f749b5c1
MD5 4108d203e9fffc6dd70d66d6db810e1e
BLAKE2b-256 29d246c49389158fcb82dc1dc9bc55726e4f5527750b76374efbb5d34e79d2f1

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page