ios,json,swift,yahoo-api,yahoo-finance
I don't know why you're using downloadTaskWithURL and then using NSData's dataWithContentsOfURL to get the data. It's simpler to use dataTaskWithURL. The following code worked for me to download the data, convert it to a string, trim that string to remove unwanted text, convert that string back to an NSData...
oauth-2.0,yahoo,contact,yahoo-api
Use the access token in there (the value of the access_token element) in a call like this: curl -H "Authorization: Bearer <access_token>" https://social.yahooapis.com/v1/user/me/contacts?format=json assuming that the client application was authorized in the developer console to access the contacts API. You'll really need to use this API URL because the YDL...
python,api,oauth,python-requests,yahoo-api
Change your body variable to a dict, i.e., body = { 'grant_type': 'authorization_code', 'redirect_uri': 'oob', 'code': '************', } No other changes are needed. Hope it helps....
ruby,oauth-2.0,yahoo-api,ringcentral
After looking at the docs for the auth_code strategy and the code for oauth2/strategy/password.rb, oauth2/strategy/base.rb and oauth2/client.rb, it appears the OAuth2 gem will add the client_id and client_secret form parameters to the body but not the header. This is permitted but NOT RECOMMENDED by IETF RFC 6749. To add the...
javascript,yui,yahoo,yahoo-api,yui-datatable
The reason why is that when you sort the table, it re-renders itself. When someone clicks the button, it doesn't change any state (ie anything about the underlying data), you are just changing the innerHTML of the cell. When the re-render happens, the existing content is overwritten by the underlying...
java,servlets,oauth-2.0,yahoo-api
You need to POST the parameters as form-encoded parameters in a HTTP POST request to the token endpoint (oauth2/get_token) instead of providing them as query parameters in a redirect to the token endpoint. You can use code from Sending HTTP POST Request In Java Also, be aware that: you need...
jquery,api,yahoo-api,yahoo-weather-api
You must edit the yahoo city code <script type="text/javascript"> $(document).ready(function () { $('#test').weatherfeed(['XXXX0977'], { forecast: true }); }); </script> the XXXX0977 is the city code you need to change....
Your state is the problem. I can reproduce the problem by including your URL-encoded state in the authorization request for my Yahoo client. The problem is the length of the state or the total URL. You may revert to using a cookie for maintaining that state and send only the...
I use their CSV interface. http://code.google.com/p/yahoo-finance-managed/wiki/csvQuotesDownload The symbol is ^GSPC Using wget as a demo: wget -O - 'http://download.finance.yahoo.com/d/quotes.csv?s=^gspc&f=sl1p2' ...
Here's your url: http://query.yahooapis.com/v1/public/yql? q=select%20*%20from%20html%20where%20url%3D%27https%3A%2F%2F www.google.com/search?q=Google+Guice&ie=utf-8%27%0A&format=json The URL query parts are separated into the following (separated by &): +--------+---------------------------------------------------+ | q | select%20*%20from%20html%20where%20url%3D%27https | | | %3A%2F%2Fwww.google.com/search?q=Google+Guice | +--------+---------------------------------------------------+ | ie | utf-8%27%0A |...
ruby,oauth-2.0,sinatra,yahoo,yahoo-api
Assuming you use the intridea OAuth 2.0 client (https://github.com/intridea/oauth2), you may be bumping in to a bug: https://github.com/intridea/oauth2/pull/192 meaning that Yahoo refuses to permit client credentials in the request body. The pull request has not been merged yet so you'd need to apply that to your own code (or find...
Yahoo historical data does not support downloading more than one symbol at a time. Each URL is unique per symbol. With yahoo limitations, I would not recommend downloading using more than a single thread....
shell,google-api,yahoo-api,quantitative-finance
I would use Python. It works very well cross platform and I have seen some great financial data apps made with it. Also if you are using Ubuntu already Python will help you do more with it. That is the reason I decided to learn Python. I use Python 2.7...
android,oauth,digital-signature,yahoo-api
I got an answer Full Code : public class YahooScreen extends Activity { private static final String REQUEST_TOKEN_ENDPOINT_URL ="https://api.login.yahoo.com/oauth/v2/get_request_token"; private static final String AUTHORIZE_WEBSITE_URL ="https://api.login.yahoo.com/oauth/v2/request_auth"; private static final String ACCESS_TOKEN_ENDPOINT_URL ="https://api.login.yahoo.com/oauth/v2/get_token"; static final String YAHOO_CALLBACK_URL = "YOUR_YAHOO_CALLBACK_URL"; static final String YAHOO_CONSUMER_KEY = "YOUR_YAHOO_CONSUMER_KEY"; static final...
xml,yahoo,yahoo-api,yahoo-finance
What you need to do, it to import community table. You can do something like this env 'store://datatables.org/alltableswithkeys'; select * from yahoo.finance.quotes where symbol in ("YHOO","AAPL","GOOG","MSFT") In the yql console, those tables only appear when you check Show Community Table Hope it will help ...