Skip to content

Displays The New York Times bestseller books with SwiftUI and Combine.

Notifications You must be signed in to change notification settings

fmustafa17/NYTimesBestSellers-SwiftUI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 

Repository files navigation

NYTimesBestSellers-SwiftUI

Displays The New York Times best seller books with SwiftUI and Combine.

How to add your developer key

In order to not expose our sensitive data, I've created a file called Config.swift that holds my API key. This config file is added to the .gitignore file. If you accidently commit and push sensitive data to your repo, consider it compromised and generate a new API key.

1. Generate your API key

Visit the NYTimes Developer portal, and follow the directions to generate an API key for the Books API.

2. Create the config file

import Foundation

enum Config: String {
    case apiKey = "Paste your API Key here"
}

Watch the app in action

Simulator Screen Recording - iPhone 15 Pro Max - 2024-05-26 at 21 52 57

About

Displays The New York Times bestseller books with SwiftUI and Combine.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages