Coder Social home page Coder Social logo

reverie-app's Introduction

Reverie

Build and Test

Your Last.fm scrobbles, on this day, in years past.

Reverie Screenshots

About

Reverie is a work-in-progress iOS app that displays your Last.fm scrobbles for each past year, for the current date.

It uses the Composable Architecture and is written in SwiftUI. It uses Swift Package Manager for dependency management.

Running the app

  • Ensure you have a Last.fm API key. Before running, edit the 'Reverie' scheme, and set your key as an environment variable with the name LASTFM_API_KEY.

TODO

  • Apple Music playback
  • Spotify playback
  • Widgets
  • Push Notifications

reverie-app's People

Contributors

danwilliams64 avatar

Stargazers

 avatar

Watchers

 avatar  avatar

reverie-app's Issues

ApiClient expecting an array response but getting a dictionary

I noticed some of my date selections were crashing the app. I noticed an error in the console. So I thought I'd print out the error to see if it would show the response but no luck. I did however get the error that it doesn't like the dictionary response.

ApiError(errorDump: "▿ Swift.DecodingError.typeMismatch\n  ▿ typeMismatch: (2 elements)\n    - .0: 
Swift.Array<Any> #0\n    ▿ .1: Swift.DecodingError.Context\n      ▿ codingPath: 2 elements\n        - 
CodingKeys(stringValue: \"recenttracks\", intValue: nil)\n        - CodingKeys(stringValue: \"track\", intValue: nil)\n      
- debugDescription: \"Expected to decode Array<Any> but found a dictionary instead.\"\n      
- underlyingError: nil\n", file: "ApiClient/ApiDecode.swift", line: 23, 
- message: "The data couldn’t be read because it isn’t in the correct format.")

I did try to see if I could work out how to print out the API response, but my swift knowledge is limited and I couldn't work out how.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.