mastodon.world is one of the many independent Mastodon servers you can use to participate in the fediverse.
Generic Mastodon server for anyone to use.

Server stats:

12K
active users

#json

13 posts11 participants1 post today

Mastodon-Client-API

Auch wenn sich im #Fediverse viel um #ActivityPub dreht und hier durchaus auch eine #Client-Schnittstelle skizziert ist, nutzt #Mastodon eine eigene Client-API, die (zumindest teilweise) auch von anderer fediversaler Serversoftware unterstützt wird (z.B. #Friendica, #Firefish, #Mammuthus).

Diese #API (application programming interface, eine #Schnittstelle zur #Programmierung von Anwendungen) dient Apps und Clients dazu, entsprechende Funktionen auf einer #Instanz durchzuführen. Diese API ermöglicht die Entwicklung von Apps wie #Tusky, #Fedilab & Co.

Man kann diese API auch nutzen, um Konten etwa (teil)automatisiert zu betreiben.

Oder Statistiken zu sammeln... oder... oder... ;-)

Die API ist soweit öffentlich dokumentiert und steht frei zur Verfügung.

Allgemeine Dokumentation zu #Mastodon (auf Englisch):
https://docs.joinmastodon.org/

"Getting started with the API":
https://docs.joinmastodon.org/client/intro/

Wer mit dem Gedanken spielt, die API zu nutzen, sollte sich mit #HTTP, #JSON & Co. anfreunden können. Und Englischkenntnisse sind in diesem Bereich grundsätzlich von Vorteil...

docs.joinmastodon.orgMastodon documentationWelcome to the Mastodon documentation!

Model class diagrams and generate code from your web-browser. No need to install anything.

🔗 Try it out: editor.besser-pearl.org/

Some key features:

✅#Graphical modelling: Design models with an intuitive graphical notation.
✅Cloud Storage: #Store your diagrams online for easy access from anywhere
✅Real-time #collaboration: Work seamlessly with multiple users on the same model.
✅#CodeGeneration: Automatically generate code for various technologies (e.g., databases).
✅#OCL Integration: Define OCL constraints with of our B-OCL tool
✅#Supports model import/export in B-UML and #JSON formats

modeling-languages.com/besser-

🌗 在 Go 中解碼 JSON 聯合類型而不會引發恐慌
➤ Go 語言中的聯合類型及其在 JSON 解碼中的應用
nicolashery.com/decoding-json-
在這篇文章中,尼古拉斯·埃裏(Nicolas Hery)探討瞭如何在 Go 中解碼 JSON 的聯合類型以避免運行時恐慌,並介紹了聯合類型的重要性和用法。
+ 這篇文章對於想要深入瞭解 Go 語言中 JSON 解碼技術的讀者來說非常有價值。
+ 作者對聯合類型和 Go 語言的融合方式進行了清晰而深入的探討,使讀者更容易理解相關概念。
#Go 程式語言 #JSON 解碼 #聯合類型

Nicolas Hery · Decoding JSON sum types in Go without panickingThe Go programming language doesn't have native support for sum types, but we'll see how we can emulate them, how to decode and encode them into JSON, and how in some cases they can help avoid runtime panic exceptions.