Yahoo retired its YQL API so, I am switching to use the OAuth1.0 protected weather forecast API,
https://weather-ydn-yql.media.yahoo.com/forecastrss?w=2502265
Got whitelisted my app through email as instructed here, https://developer.yahoo.com/weather/
Sending request to get weather data with the proper Authorization header returns nothing but this, error status: 500
<rss xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:yweather="http://xml.weather.yahoo.com/ns/rss/1.0" version="2.0">
<channel>
<yweather:units distance="mi" pressure="in" speed="mph" temperature="F"/>
</channel>
</rss>
any idea what's going wrong?
I had a very quick support from the Yahoo team. Below is their answer regarding this issue:
Hi,
Maybe you missed our earlier email but there was some service
reliability issues, which should work well now. Please try again and
let us know if you have any other problems. You can also read through
the code examples on
https://developer.yahoo.com/weather/documentation.html for sample
OAuth1 call to our API.
PS: if you still encounter problems with Postman, please try curl
command instead, which should have more reliable and valid response.
Regards,
Yahoo Weather Team
I can confirm, my app successfully connect to the weather API without any change on my code (no more 500 error)
They are retiring their weather API. Did you go through the new onboarding listed on their site?
Important EOL Notice: As of Thursday, Jan. 3, 2019, the weather.yahooapis.com and query.yahooapis.com for Yahoo Weather API will be retired.
To continue using our free Yahoo Weather APIs, use https://weather-ydn-yql.media.yahoo.com/forecastrss. Contact yahoo-weather-ydn-api#oath.com for credentials to onboard to this free Yahoo Weather API service.
Related
I have been trying to fetch the stock quotes from Yahoo finance, but I have not been able to get that.
I have tried YQL Console, and it is working fine in that https://developer.yahoo.com/yql/console/#h=select+*+from+pm.finance+where+symbol%3D%22SBIN.BO%22.
Here they are using pm.finance table to fetch the stock quote.
URL for accessing the REST URL it in browser here
If you will try to open the rest URL in the browser it gives you error:
{"error":{"lang":"en-US","description":"Authentication Error. The table pm.finance requires a higher security level than is provided, you provided ANY but at least APP is expected"}}
So for this I created a Yahoo App for this, so that I will be able to access using CURL request
Created App on - https://developer.yahoo.com/apps/
But now I am not able to get how to use this app to make a CURL request and get the quotes.
I have also tried http://download.finance.yahoo.com/d/quotes.csv?s=sbin.bo&f=sl1d1t1c1ohgv
But here I am not getting information about the quotes.
Please help me, how to get the stock quotes. I also know about Google finance API and have implemented that but client is specific about using Yahoo API.
Thanks in advance
Yahoo has discontinued their stock quote API. Try the Investor's Exchange API instead.
Is there any working and complete code samples that demonstrate how to work with hotmail api?
For example I've already made for gmail api with web application:
oAuth
search mail by uuid inside mail body
get Message Content
get Message Attachment
some processing code
Now I need to integrate hotmail.
done only:
oAuth with scope https://graph.microsoft.com/mail.read
That code samples that I found in official documentation doesn't shows how to pass oauth token - thats why have a lot of questions
Share some links that will help me, please!
I recommend you use the Microsoft Graph to read and search emails. It works for work, school and personal Microsoft accounts (hotmail, live, outlook.com, etc).
Since you already have an access token, just pass it through with an Authorization header. More information about using access tokens with the Microsoft Graph can be found in their documentation.
Authorization: Bearer [Access Token]
For searching email, try the following query:
GET https://graph.microsoft.com/v1.0/me/messages?$search="hello world". If you're trying to search for emails in a different user's mail, try:
GET https://graph.microsoft.com/v1.0/users/{id | userPrincipalName}/messages?$search=foobar
I also recommend trying the Microsoft Graph Explorer since it has sample queries for Outlook Mail. To show the Outlook samples, click the show more samples link. Also, clicking the icon to the right of each query will bring you to the documentation page for that sample.
Does anyone know any online services that provides live tracking of response time for all pages of my site listed in sitemap? Any analytics tools also would be great
You can try adding google analytics for that.
In my app i need to integrate it with TripAdvisor API.
i searched a lot about it, i found this in there website:
https://developer-tripadvisor.com/content-api/
it's actually un useful!.
I didn't find any example or demo for this integration!
Anyone knows how to integrate with TripAdvisor in IOS? Or have any example about it?
thanks
Well, just like most APIs, you first have to get your API key from TripAdvisor. So go to the Request API Access form and fill that out (You have to sign up for Trip Advisor first, or sign in with a Facebook or Google account). They will then contact you with your API key and info.
Now that you have the key, the more interesting part takes place. You can use the app in HTTP requests in your app (Example Here) with the URL of the request you want to make. For example, if I wanted to get results for hotels with my coordinates, I would use this URL:
http://api.tripadvisor.com/api/partner/2.0/map/42.33141,-71.099396/hotels?key=<YOUR KEY HERE>
The response would be some JSON code which you can parse with Swift's built-in JSON parser, NSJSONSerialization. With this data, you can now store and make use of what you needed from their API.
To see the full API documentation of all the requests you can do and their details, just visit the TripAdvisor API Documentation.
Hope this helps,
Gabriel
Seriously, how do I do this? I've looked and Googled for two days, and it's not there.
I'm trying to sell an app through the Google Web Store. It is a packaged off-line app, with a custom server backend.
I think to do this I need the Licensing API, and that says I need an OAuth Token. I'm following these instructions to get the token.
Here are screenshots of my view of the Chrome App in the Developer Dashboard. My app's id is: lhhdccfgjpdaidjegbioednlnlidefno
I figured out app needs to be "public" to get the "Change Pricing"
button. Ok. Changed it to Chrome Web Store Payments.
After setting the pricing to Chrome Web Store Payments, I publish the app publicly,
but no OAuth token link appears. I don't see an option for this in
any of the UI.
How do I use the Licensing API with a packaged app?
Please help!
Mike
thanks everyone who read/answered this. The missing piece was here:
https://developer.chrome.com/apps/app_identity
Chrome has a browser API to call to get the token. There is no need to get it from the Developer Dashboard, hence I couldn't find it. I think much of the documentation is out of date and written before Chrome had the browser API for this.
This URL is likely a good example even for subscriptions. https://developer.chrome.com/webstore/one_time_payments
Thanks for your help!
Mike