Share your Jyte hacks on the wiki!
Jyte groups expose two api methods:
is_member
This methods tests whether an OpenID belongs to a
group. Response is plain text and will either be 'true', 'false', or
'error:message'.
Full API URL is available at the bottom of every group page, and is of
the format:
http://jyte.com/api/group/GROUP/is_member?openid=URLENCODE(openid)
roster
This method returns a plain text, newline separated list OpenID
identifiers that are members of the group. Specific API roster URLs
are available at the bottom of your group's page, and are of the
format:
http://jyte.com/api/group/GROUP/roster
Contact lists are available via an API, and like groups are useful for "social whitelisting" applications. Two methods are exposed, both of which accept an optional tag parameter. Use the tag parameter to filter for contacts of a certain type like 'family' or 'friend'. Also, you may pass in primary=true for the methods to use only the contact's primary OpenID. If primary is not specified, the methods will use all of a contact's verified identifiers.
is_member
This methods tests whether an OpenID belongs to one of a user's
Jyte contacts. Response is plain text and will either be 'true', 'false', or
'error:message'.
Full API URL is available at the bottom of a user's contacts page, and is of
the format:
http://jyte.com/api/contacts/is_member?openid=URLENCODE(openid)&contact_openid=URLENCODE(contact_openid)
roster
This method returns a plain text, newline separated list of OpenID
identifiers that are the specified OpenID's contacts. Specific API roster URLs
are available at the bottom of a user's contacts page, and are of the
format:
http://jyte.com/api/contacts/roster?openid=URLENCODE(openid)
A full API for interacting with live cred data is on the way.
Interested in the cred graph data? Download our nightly graph data, which is available under the Creative Commons Attribution-NonCommercial-ShareAlike 2.5 license.
What is URLENCODE?
This syntax means that the parameter needs to be URL escaped when
building your API URL. This generally means that URL specific and
other characters need to be percent escaped. Some examples: