frankel, to random
@frankel@mastodon.top avatar
chriskirknielsen, to Notion
@chriskirknielsen@front-end.social avatar

I wrote about how I used @eleventy's fetch AssetCache feature to query and store data from an #API like #Notion or the #PlayStation Network (for my Now and Gaming Library pages), abstracting it all into reusable code. Maybe somebody else out there could benefit from such a write up, so I wrote it: https://chriskirknielsen.com/blog/leverage-api-like-notion-with-cache/

ampache, to php
@ampache@fosstodon.org avatar

#ampache 6.4.0 out now!

This is a great release to move to. Numerous fixes and weird bugs squashed.

The 6 branches are winding up development but API6 will continue to be extended when development has moved to Ampache 7.

#php #api #dev

https://github.com/ampache/ampache/releases/tag/6.4.0

poppastring, to dotnet
@poppastring@dotnet.social avatar

https://apisof.net exposes platform-specific framework information for apis and types. For example, I now know that this Zune enum type is Windows only :)

#api #dotnet

frankel, to webassembly
@frankel@mastodon.top avatar
ryan, to dotnet
@ryan@social.binarydad.com avatar

I met a development team today that has only used .NET Remoting, not even WCF, let alone touched a REST API.

nick_tune, to random
@nick_tune@hachyderm.io avatar

Should you design APIs based on what you (the owning team) think is the best way to expose your domain, or do you make compromises based on the needs of your API's consumers?

(API here refers to any element of the public contract of your service/subsystem/app/domain/context, such as HTTP endpoints or events.)

#ddDesign #ddd #domainDrivenDesign #api #swArch

kerfuffle,
@kerfuffle@mastodon.online avatar

@nick_tune

You start from any conventions you've agreed on with other teams regarding API design.

Then you focus on what's best for your domain model.

And when you find reality has needs beyond what both convention and model dictate, you inspect and adapt. That means revisiting a convention or remodeling your domain boundary.

chriskirknielsen, to Playstation
@chriskirknielsen@front-end.social avatar

Updated my Gaming Library page, you can click the title on the spine of a game and it'll open a dialog with more info about it. Recently integrated the PSN API to show trophies and even an icon if relevant. APIs are cool. (manually mapping API IDs to your Notion list, not so cool, but it is necessary!)

PS: Don't try to change the completed status — rude. Also I didn't copy the idea from somebody I look up to with their NYC checklist, nope. 🙃

🏆 https://chriskirknielsen.com/games/library/

marwi, to webxr German

We've made a new features trailer for Needle Engine 3.36 ✨ #webxr #visionos #lods #optimization #api #docs

https://youtu.be/VkcLvnK_aeU?si=2VVXWgnIezKzxKqW

stefan, to random
@stefan@stefanbohacek.online avatar

Is there a more efficient way to check if two accounts follow each other via Mastodon's API, other than fetching followers of both accounts and finding a match?

#MastoDev #development #api

ampache, to random
@ampache@fosstodon.org avatar

Hello #ampache #api #developers

I've updated the api docs to try and explain how the media playback processes and helper methods work.

This should help flesh out some of the details about how Ampache handles things for you.

https://ampache.org/api/api-media-methods

czach, to random Polish
@czach@pol.social avatar

Pogoda nie zachęca do wyjścia z domu.
Trzeba ten czas jakoś konstruktywnie spożytkować.

https://api.sejm.gov.pl/sejm.html#dokumentacja-po-polsku
#API #sejm #polityka #informatyka

claras_universe, to rust
@claras_universe@ieji.de avatar

Why is it so fun to create APIs? Something about it is so oddly satisfying, the image down below is part of my API documentation and its just pure dopamine to look at xD I could do this kind of stuff forever…

orhun, to rust
@orhun@fosstodon.org avatar

No more Postman! This TUI API client goes crazy 🔥

📡 atac: A simple API client in your terminal.

🚀 Supports importing collections from Postman.
🔓 Free, account-less, and offline.
🦀 Written in Rust & built with @ratatui_rs

⭐ GitHub: https://github.com/Julien-cpsn/ATAC

#rustlang #tui #ratatui #http #client #api #postman #terminal

video/mp4

minioctt, (edited ) to random Italian

Ieri non ho assolutamente portato a zero la batteria del tablet per tutto il tempo che ci ho messo a provare diverse e a vedere cose per risolvere l’ennesimo problema causato dalle nuove versioni di … ok, in tutta onestà la batteria l’ho finita nel bus più tardi, però comunque, una buona parte della carica è sparita solo nel tempo perso prima. 😶‍🌫️️

Un altro po’ mi sembrava di star usando iOS per non riuscire a fare una cosa così banale come: aprire un file direttamente nel , ed averlo funzionante, con anche il caricamento di tutte le risorse embeddate, senza ricorrere ad un webserver locale che causa solo rogne in più… come ho detto su OTIDroid, questa cosa sembra una cazzata, ma è sorprendente quanto è difficile da Android 11 in su:

  • Firefox Fenix non ha mai supportato i percorsi file:///, a te Mozilla
  • Firefox legacy funzionerebbe, solo che la versione più recente (v68.11.0) è comunque antica e quindi molte nuove web non vanno
  • I Chromium, da quando sono aggiornati per targettare le nuove API Android, non riescono più a vedere qualsiasi file su /sdcard/, ma solo quelli multimediali (utilissimo eh?); e si, hackerare il manifest per portare indietro l’API target rompe la app
  • La più recente versione di Chromium precedente a tutte queste novità che ho trovato (~v79.0.3945.94) è comunque molto vecchia, stesso problema di Firefox

Evidentemente nessuno ha voglia di creare un browser che funziona correttamente, (nemmeno io, in quel momento volevo solo fare un po’ di programmazione HTML), maremma maiala… ma, per fortuna mi torna in mente che una ci sarebbe: le app che usano la di sistema funzionano ancora normalmente (senza codice aggiornato per lo ) se hanno un target SDK vecchio ma, proprio perché il motore che usano è quello di sistema aggiornato, la compatibilità con gli standard è massima. 😤️

  • Sorprendentemente, di così che siano allo stesso tempo non mezzi rotti, abbiano un target vecchio, e il permesso di lettura dell’archiviazione, non ce ne sono molti. L’unico che ho trovato è “Tint Browser“, che funzionerebbe già così senza fatica, e stavo per usare quello… ma ha uno strano bug che fa sparire tutte le schede aperte sia alla chiusura della app, che la rotazione dello schermo… e non viene aggiornata da 10 anni, quindi mi sa mi sa che il non sarà risolto. 🕸️

  • Ho però notato che virtualmente qualunque altra app WebView browser non si rompe se subisce quelle modifiche che ho detto all’AndroidManifest.xml, probabilmente perché sono così semplici che non hanno codice chissà quanto specifico a certe versioni delle API… quindi ne ho semplicemente scelto uno che mi piaceva, ho usato un editor di per portare indietro il valore android:targetSdkVersion del blocco <uses-sdk> (mentre il permesso READ_EXTERNAL_STORAGE c’era già quindi non ho dovuto scriverlo io), e in mezzo minuto il problema è risolto. 🌚️

    • Tra gli infiniti che si trovano ho preso questo “SmartCookieWeb” comunque, ha delle funzioni avanzate carine. L’APK già modificato, in caso ne aveste bisogno, l’ho caricato qui sul mio server.

Una cosa strana però: teoricamente è stato Android 11, cioè target 30, ad introdurre lo spacc più totale dei di accesso all’archiviazione locale, quindi a regola impostare il 29 (Android 10) sarebbe sufficiente a visualizzare il permesso di gestire tutti i file nelle impostazioni al posto di quello per soltanto i media… eppure io ho dovuto scrivere 28 (Android Pie). Sarà un fatto del mio Android 12 forse, boh, anyways the fog is coming fuck you Google. 👁️

https://octospacc.altervista.org/2024/04/16/quando-adrode-niente-file/

Dierck, to Youtube German
@Dierck@norden.social avatar
orhun, to rust
@orhun@fosstodon.org avatar

Today I found a TUI frontend for curl! 🔥

🌀cute: TUI HTTP client with API/auth key management and request history/storage.

🌐 Supports importing Postman collections!

🦀 Written in Rust & built with @ratatui_rs

⭐ GitHub: https://github.com/PThorpe92/CuTE

#rustlang #ratatui #tui #curl #http #request #api #auth

video/mp4

phpday, to php
@phpday@phpc.social avatar

"How to contribute to PHP?" will be Gina Peter Banyard 's talk at phpday24.
@Girgias is PHP Core dev

Verona | 16-17 May
Tickets 🎫 bit.ly/4aDoVRW

bpedro, to random

One big hurdle of using an is the signup process.

Before using an API you often need to sign up and obtain credentials, e.g., an API key or client ID and secret.

Why isn't there yet a fully automated API signup solution? Who's working on this?

This problem reminds me of what it would take to set up an SSL certificate before letsencrypt existed.

yelof, to wordpress
@yelof@hachyderm.io avatar

Just wanna have people click a button on my website and have it turn on a light in my living room without dealing with WP API, ya know?
#Wordpress #API #WordpressAPI

thezerobit, to programming
@thezerobit@anticapitalist.party avatar

For API developers: what's your API versioning strategy?

Please respond with a description. A poll would be useless as there are as many versioning strategies as there are stars in the night sky.

#API #programming #versioning

eugenialoli, to rust
@eugenialoli@mastodon.social avatar

I looked at the based, , by . This is branded "alpha" right now, but I'm flabbergasted by the users online, who think that "by summer" that thing will be ready for general use.

News flash, it won't.

It generally takes 2-3 years minimum after the official release for a brand new DE (with a brand new & libs) to become truly useful to most people. DEs aren't adopted unless matured. Hamper your expectations, lads.

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