string-sdk
v0.3.0
Published
JavaScript/TypeScript client for the String SmartLink platform (Context OS)
Maintainers
Readme
@contextos/string-sdk
Typed client for the SmartLink / Context-OS APIs.
Install
npm install string-sdk cross-fetchQuick start
import { SmartLinkClient } from "string-sdk";
const client = new SmartLinkClient({
apiKey: process.env.STRING_API_KEY,
});
const cards = await client.smartCards.search({ query: "example" });
console.log(cards);Available helpers (v0.2.0)
smartCards.search({ query })smartCards.get(id)smartLinks.create(payload)smartLinks.update(id, payload)
More endpoints coming soon — see CHANGELOG.
