Skip to content
An illustration of OAuth Signature call for Yahoo Weather written in Swift and Objective-C.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
OAuthExample.xcodeproj
OAuthExample.xcworkspace
OAuthExample
Pods
LICENSE
Podfile
Podfile.lock
README.md
sample-vid.gif
sample.gif

README.md

yahooOAuthiOS

An illustration of OAuth Signature call for Yahoo Weather API written in Swift and Objective-C.

The example code given by yahoo is written in Java, PHP and Node.js. If you need to port it in Swift/Objective-C you can use this instead to save some time and have a beer :). For this example, I have used Miami Beach's location coordinates to fetch the current weather codnitions there.

Do remember to create your own credentials from Yahoo's "Create App" page as this is an open source project and anyone could be using these keys.

Swift

OAuthSwit.swift

Objective-C

OauthObjectiveC.h, OauthObjectiveC.m

You can’t perform that action at this time.