title: How to integrate FitBit Api in IOS app using Swift
body: <p>First of all I created an account at <a href="https://www.fitbit.com" rel="nofollow noreferrer">https://www.fitbit.com</a>
  Then I careated an app at <a href="https://dev.fitbit.com" rel="nofollow noreferrer">https://dev.fitbit.com</a>
  then installed <a href="https://github.com/OAuthSwift/OAuthSwift" rel="nofollow noreferrer">OAuthSwift</a> using cocoa pods and implemented this method in my AppDelegate</p>
  
  <pre><code>    func application(app: UIApplication, openURL url: NSURL, options: [String : AnyObject]) -&gt; Bool {
      if (url.host == "oauth-callback") {
          OAuthSwift.handleOpenURL(url)
      }
      return true
  }
  </code></pre>
  
  <p>now i want to get the data (Name, Steps taken etc) of user account I created at <a href="https://www.fitbit.com" rel="nofollow noreferrer">https://www.fitbit.com</a> 
  how can I do that ? I searched but was not able to find any tutorial on fitbit integration. And where to use this information in my code?
  <a href="https://i.stack.imgur.com/z4NPi.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/z4NPi.png" alt="enter image description here"></a>
   So please guide me about next step what should I do to get the data.</p>