@JTostitos@techhub.social
@JTostitos@techhub.social avatar

JTostitos

@JTostitos@techhub.social

Swift Developer. Creator of Snippets Studio & SHOUT - Text Cases

Creator of open source project Spectra. A Prime Video client for
Apple Vision Pro.

This profile is from a federated server and may be incomplete. Browse more on the original instance.

JTostitos, to macos
@JTostitos@techhub.social avatar
donnywals, to random
@donnywals@chaos.social avatar

Good morning and a happy Monday, folks! Hope you’ve had a nice weekend!

Do you have any plans for the week? Working on something cool, learning something new, anything at all?

Tell me all about it! 😎

JTostitos,
@JTostitos@techhub.social avatar

@donnywals just released an update to my app Snippets Studio yesterday!

https://indieapps.space/@SnippetsStudio/112508897546009780

JTostitos, to swift
@JTostitos@techhub.social avatar

Well, I wanted to use the App Store Connect API to download the CSV file of total payment for a particular month.

The API seems to only download what is provided from the create reports button (red box in image) which is not what I want; it doesn’t include a number of the total sales for a month once it has been paid. And adding each of the totals does not equal the correct payment amount.

The second image has an orange box that shows the accurate number. This is what the file looks like when using the download button in the green box in the first image.

Maybe I am using the API incorrectly? I am using this swift package: https://github.com/AvdLee/appstoreconnect-swift-sdk

image/jpeg

charliemchapman, to random
@charliemchapman@mastodon.social avatar

I got mistaken for being Italian by an Italian and I’ll be riding that high for the rest of this trip

JTostitos,
@JTostitos@techhub.social avatar

@charliemchapman @iPabloSB this is a bad Italian thing to do 😂

JTostitos, to swift
@JTostitos@techhub.social avatar

Swift/SwiftUI Question: App Store Connect API provides a gzip when the response is successful for a particular endpoint I am accessing.

How do I take this gzip and save the contents of it to a files app / sandbox directory / swift data, so that I can read it and view the contents? From what I understand, gzip is similar to a zip file?

So far my attempts to save it to files to read the contents have failed. It says “Inappropriate file type or format”.

JTostitos,
@JTostitos@techhub.social avatar

@mattiem sorry I meant the files app says…

JTostitos,
@JTostitos@techhub.social avatar

@mattiem oh okay, maybe that’s what I was missing. The file that I typically download from App Store Connect in the UI is a csv for the financial reports. Would I gunzip and save as a csv?

JTostitos,
@JTostitos@techhub.social avatar

@mattiem Awesome thanks! It worked.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • megavids
  • rosin
  • thenastyranch
  • GTA5RPClips
  • tester
  • InstantRegret
  • DreamBathrooms
  • ngwrru68w68
  • magazineikmin
  • everett
  • Youngstown
  • mdbf
  • slotface
  • kavyap
  • JUstTest
  • cisconetworking
  • khanakhh
  • normalnudes
  • osvaldo12
  • cubers
  • tacticalgear
  • Durango
  • ethstaker
  • modclub
  • anitta
  • provamag3
  • Leos
  • lostlight
  • All magazines