Using universal-social-sdk with mastodon.local

TypeScript integration

Install
npm install universal-social-sdk
Quick start
import Universal_social_sdk from 'universal-social-sdk';

const client = new Universal_social_sdk({ apiKey: "YOUR_API_KEY" });
OEmbed as JSON
curl \
  -H "Authorization: Bearer $API_KEY" \
  http://mastodon.local/api/oembed
View identity proof
curl \
  -H "Authorization: Bearer $API_KEY" \
  http://mastodon.local/api/proofs
Fetch all lists that the user owns.
curl \
  -H "Authorization: Bearer $API_KEY" \
  http://mastodon.local/api/v1/lists
SDK on GitHub 📄 API Docs
SDK
universal-social-sdk
TypeScript
API
mastodon.local
mastodon.local
Other SDKs for mastodon.local
TootSDK mastodon-api Trunk ivory_cpp
At a glance
Language TypeScript
Endpoints127
Base URLhttp://mastodon.local