1.0.0-beta-4
☄️ Wrapper for interact with the Ceramic Network API in Deno
Repository
Current version released
3 years ago
Ceratosaur ☄️
Wrapper for interact with the Ceramic Network HTTP API
Example
You can use the function ceramic
and set your ceramic database url and get stream info with the getStream
method
import { ceramic } from "https://x.nest.land/ceratosaur@1.0.0-beta-3/src/mod.ts";
const database = ceramic("http://localhost:7007");
// this automatically concatenates the url with /api/v0/streams
ceramic.getStream("k2t6wyfsu4pg2qvoorchoj23e8hf3eiis4w7bucllxkmlk91sjgluuag5syphl");
or use the getStream
function
import { getStream } from "https://x.nest.land/ceratosaur@1.0.0-beta-3/src/mod.ts";
// you need specify /api/v0/streams
getStream("http://localhost:7007/api/v0/streams", "k2t6wyfsu4pg2qvoorchoj23e8hf3eiis4w7bucllxkmlk91sjgluuag5syphl");
Docs
You can see a simple docs in the Generated deno.land Docs