Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #48026

Re: Having a hard time to 'get' bing api search results

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed3.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <yoursurrogategod@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.020
X-Spam-Evidence '*H*': 0.96; '*S*': 0.00; 'json': 0.07; "subject:' ": 0.07; 'url:blog': 0.10; 'api': 0.11; 'me.\xa0': 0.16; 'subject:search': 0.16; 'thoughts?': 0.16; 'wrote:': 0.18; 'all,': 0.19; 'trying': 0.19; 'thu,': 0.19; 'url:view': 0.20; "i've": 0.25; 'query': 0.26; 'header:In-Reply-To:1': 0.27; "doesn't": 0.30; 'specified': 0.30; 'message-id:@mail.gmail.com': 0.30; "i'm": 0.30; 'code': 0.31; '13,': 0.31; 'search.': 0.31; 'url:05': 0.31; 'file': 0.32; 'subject:time': 0.33; "i'd": 0.34; 'problem.': 0.35; 'received:google.com': 0.35; 'executing': 0.36; 'shows': 0.36; 'url:org': 0.36; 'to:addr:python-list': 0.38; 'pm,': 0.38; 'url:2012': 0.39; 'to:addr:python.org': 0.39; 'matter': 0.61; 'subject:get': 0.81; 'subject:results': 0.91; '2013': 0.98
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=UoCRPNEyBhhchHS3n5DOzkAS66sxYVkgLEZVejqPLLw=; b=IUyM04LMP/dbt3rjKuNf42QBlJixGY8WoHA7xR6hSaYkJpK1qF4DY77aVZhWJZlTxe lc9tvFxAaKU7wZsLcDxotHs0iTXGNUFK+gOr4NXIbMPgH/ufQm1XfMQPtaEhNc/+EUCD r9uRUPWwO6hFt25U+zRNzwu8qastKwzbjmu/T64C5KVv7JZdjrtBZE81ZYolNFL2ONab pkTtknU9iAf0PlUVNRGKRV7rH1sczp42azoiYzN+me9W/JBWzj6ab6ffTYXH76DDyZLr X62/rrTxHlWh2/Ech4ohZJBaKn7l/qXfkWu+Z1pCrQuXfKLXtbQmyGoTJitJicq4yI7Z 67fg==
MIME-Version 1.0
X-Received by 10.180.109.48 with SMTP id hp16mr1687623wib.24.1371159077040; Thu, 13 Jun 2013 14:31:17 -0700 (PDT)
In-Reply-To <CAJ=2b05Vooh1V3ZOijtS0Y4AwKLSQdbiRhOKkqwzKi_dJ_3m6w@mail.gmail.com>
References <CAJ=2b05Vooh1V3ZOijtS0Y4AwKLSQdbiRhOKkqwzKi_dJ_3m6w@mail.gmail.com>
Date Thu, 13 Jun 2013 17:31:16 -0400
Subject Re: Having a hard time to 'get' bing api search results
From "Yves S. Garret" <yoursurrogategod@gmail.com>
To python-list@python.org
Content-Type multipart/alternative; boundary=e89a8f3ba91db7ba1d04df0fd908
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.3227.1371159084.3114.python-list@python.org> (permalink)
Lines 50
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1371159084 news.xs4all.nl 15982 [2001:888:2000:d::a6]:52122
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:48026

Show key headers only | View raw


[Multipart message — attachments visible in raw view] - view raw

This is the format that I've been following:
http://gavinmhackeling.com/blog/2012/05/using-the-bing-search-api-in-python/

If I execute the specified query from a browser, the JSON file
shows up without a problem.  Now, I'd like to do that programmatically.


On Thu, Jun 13, 2013 at 4:57 PM, Yves S. Garret
<yoursurrogategod@gmail.com>wrote:

> Hello all,
>
> This is my dilemma, I'm trying to get the generated JSON file using the
> bing api
> search.
>
> This is the code that I'm executing from inside the shell:
> http://bin.cakephp.org/view/460660617
>
> The port doesn't matter to me.  Thoughts?
>

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: Having a hard time to 'get' bing api search results "Yves S. Garret" <yoursurrogategod@gmail.com> - 2013-06-13 17:31 -0400

csiph-web