Plexus Developer Portal API
An API for reading and writing-to profile archives in the Plexus Developer Portal App. A "Profile Site" is a dat-site which
- represents a user (identity),
- broadcasts information (media feed), and
- and follows other profiles (social relationships).
Plexus Developer Portals are used to serve and validate scripts to Plexus users.
Based almost entirely on Paul Frazee's Dat-Nexus-Api.
In heavy development, readme will be updated.
var PlexusDevAPI = // create a db instancevar db = await PlexusDevAPIvar db = await PlexusDevAPI // mainUserArchive is a DatArchive instance // profile data// = await db // => {name:, bio:, avatar:}await db // management// = await db // close db instance, optionally delete its data await db // add archive to the dbawait db // add archives to the dbawait db // remove archive from the dbdb // list archives in the dbawait db // remove archives from the db that arent followed by mainUserArchive // social relationships// = await db