Skip to content

irangareddy/petdex-swift

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Petdex Swift

A lightweight Swift Package for the public Petdex API.

Install

Add this repository in Swift Package Manager, then:

import Petdex

Example

let client = PetdexClient()
let pets = try await client.searchPets(query: "otter")

Includes

  • PetdexClient
  • typed Petdex models
  • SwiftPM tests
  • an iOS example app in /examples

Credit

Original Petdex creator and npm package author: Railly Hugo | GitHub Sponsor

This Swift package and iOS example are by Ranga Reddy.

About

Swift Package and iOS example app for the public Petdex API

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages