yahoo-api

Issue with Yahoo Sports API

无人久伴 提交于 2019-12-07 03:01:32
问题 I am trying to setup a simple app that consumes the Yahoo Fantasy sports API, and allows queries to be executed through YQL. class Program { static void Main(string[] args) { string yql = "select * from fantasysports.games where game_key in ('268')"; //var xml = QueryYahoo(yql); // Console.Write(xml.InnerText); string consumerKey = "--my key--"; string consumerSecret = "--my secret--"; var xml = QueryYahoo(yql, consumerKey, consumerSecret); Console.Write(xml.InnerText); } private static

Restaurant menu search Api

放肆的年华 提交于 2019-12-06 16:25:41
问题 I'm would like to develop an application which searches restaurants in a given location and also displays the restaurant's menu details. Are there any existing APIs which I could reuse to develop such a restaurant search? 回答1: yes you can use Yahoo local search API for this. see this link for more info.. http://developer.yahoo.com/search/local/V3/localSearch.html 回答2: You can also try using the Locu API Documentation: https://dev.locu.com/documentation/ The basic query that I used to get menu

Retrieve access token for Yahoo API using OAuth 2.0 and Python requests

纵然是瞬间 提交于 2019-12-06 07:30:02
问题 I am trying to retrieve the access token for the Yahoo API, using the explicit grant flow as described in this document: https://developer.yahoo.com/oauth2/guide/flows_authcode Everything is fine until Step 4: Exchange authorization code for Access Token I wrote the following python script to retrieve the code: import urllib2 import requests import json url = 'https://api.login.yahoo.com/oauth2/get_token' body = "grant_type=authorization_code&redirect_uri=oob&code=************" headers = {

Get img thumbnails from Yahoo! Screen Video Player (not older webplayer)

人走茶凉 提交于 2019-12-06 07:18:15
问题 I am trying to get yahoo! screen video's image thumbs to embed on my website like we can easily do in other websites ( Get img thumbnails from Vimeo?, How do I get a YouTube video thumbnail from the YouTube API?, etc.). There used to be a sugestion: Get thumbnail image for Yahoo video? (python) but it doesn't seem to work now with the new Yahoo! Screen. Some quick searching on the Internets led me to Y!'s very own online help: http://help.yahoo.com/l/in/yahoo/video/using/using005.html;_ylt

Yahoo authenticate & fetch profile details iOS

有些话、适合烂在心里 提交于 2019-12-05 14:51:48
问题 I've listed here Yahoo Integration steps which I've followed. Step 1. I went to http://developer.yahoo.com/social/sdk/objectivec/ Step 2. Downloaded entire framework from here - http://github.com/yahoo/yos-social-objc Step 3. I did Drag & drop that framework into my project. Step 4. Enabled flag fno-objc-arc for yahoo framework files. Step 5. I did #import "YOSSocial.h" in my viewController's header file. Step 6. In view did load, I placed Code block 1 to create a session object. Step 7. On a

Yahoo OAuth 2.0 login malfunction

↘锁芯ラ 提交于 2019-12-04 10:02:42
问题 Today when I tried to access to my org SSO website using Yahoo OAuth 2.0, it failed and have the below behavior. Initiate Yahoo OAuth flow, so it is now inside https://login.yahoo.com/config/login Login page is shown, type in login name Type in password After loading for a while... It will go back to Login page in Step 2 Repeat Step 2-3 It was definitely working before without the above bug, anybody else is experiencing the same bug and/or know how to fix this? 回答1: Edit on 10 May 2019, The

Is YQL / datatables.org down as of May 17-18, 2017?

房东的猫 提交于 2019-12-04 06:08:59
During the past 1-2 days, the http query that I used to download historical stock prices from Yahoo Finance has not been working. The link I have been using is the first one below but I have also tried out the other three (since I saw other people using them): http://real-chart.finance.yahoo.com/table.csv?s=TRQ&d=6&e=3&f=2016&g=d&a=5&b=25&c=2016&ignore=.csv https://real-chart.finance.yahoo.com/table.csv?s=TRQ&d=6&e=3&f=2016&g=d&a=5&b=25&c=2016&ignore=.csv http://ichart.finance.yahoo.com/table.csv?s=TRQ&d=6&e=3&f=2016&g=d&a=5&b=25&c=2016&ignore=.csv https://ichart.finance.yahoo.com/table.csv?s

Yahoo weather API, randomly returns old data?

旧城冷巷雨未停 提交于 2019-12-03 07:34:37
问题 I started using Yahoo's free weather API to get the weather data I need, but it seems each time I request a city weather data there is a chance that either I get updated data or old data from back to 1 to 8 days. Here is a simple URL which I make my request with: Click here to see a sample request The YQL query is simple, which requests the weather data for New York city: select * from weather.forecast where woeid in (select woeid from geo.places(1) where text="New York") But each time I

Yahoo weather API, randomly returns old data?

时间秒杀一切 提交于 2019-12-02 22:31:04
I started using Yahoo's free weather API to get the weather data I need, but it seems each time I request a city weather data there is a chance that either I get updated data or old data from back to 1 to 8 days. Here is a simple URL which I make my request with: Click here to see a sample request The YQL query is simple, which requests the weather data for New York city: select * from weather.forecast where woeid in (select woeid from geo.places(1) where text="New York") But each time I refresh that URL, I might get a completely different result. for example I did refresh it right now a

Yahoo API with Ruby on Rails and OAUTH2

青春壹個敷衍的年華 提交于 2019-12-02 03:48:02
问题 I have an RoR site that gets data from stock exchanges and I am using Yahoo's finance table via the Yahoo API. I need authorization to gain full access to YQL, which requires that I use Oauth2. I need help getting OAuth access to Yahoo. This is what I have tried: client = OAuth2::Client.new(oauth_consumer_key,oauth_consumer_secret, { access_token_path: '/oauth/v2/get_token', authorize_path: '/oauth/v2/request_auth', authorize_url: 'https://api.login.yahoo.com/oauth/v2/request_auth', request