api documentation

GET /api/members

Returns a JSON object containing every member of the webring.

GET /api/members/[member]

Returns a JSON object containing the information of one member of the webring, where [member] is an integer.

{"name": Name of the user,
"website": Link to the website,
"description": Short description of the user,
"img": Base-64 encoded 88x31 image.}
}

GET /api/members/[member]/next

Returns a JSON object containing the information of the next member of the webring from the specified member ID, where [member] is an integer.

{"name": Name of the user,
"website": Link to the website,
"description": Short description of the user,
"img": Base-64 encoded 88x31 image.}
}

GET /api/members/[member]/previous

Returns a JSON object containing the information of the previous member of the webring from the specified member ID, where [member] is an integer.

{"name": Name of the user,
"website": Link to the website,
"description": Short description of the user,
"img": Base-64 encoded 88x31 image.}
}

GET /api/widgets/[member]?format=[format]&style=[style]

Returns HTML for a webring navigation widget where [member] is a member ID, [format] is one of minimal, text or image, and [style] are inline styles used to style the widget content.