AppleWatchProductHunt

December 28, 2017 ยท View on GitHub

Features

  • An Apple watchapp written in Swift that displays the top posts from Product Hunt.
  • Demonstrates how to use Alamofire to make network requests.
  • Demonstrates how to use the Product Hunt API to request the top posts of the day.

Pull requests are more than welcome :)

Usage

For security reasons, I removed my API Key and API Secret tokens so if you want to run the app, you first need to create your tokens. Don't worry, it's as easy as described here:

  1. Go to the Product Hunt API Dashboard and create a new application.

  2. Give it a name and a redirect URL (eg. https://localhost) and press Create Application.

  3. You should now have your API Key and API Secret ready to be copy and pasted into the project. Go in the InterfaceController.swift class and add your keys.

Requirements

  • Xcode 9.0+
  • Swift 4.0+

Developer