If you are a developer who uses Paymails to identify your users, then you can use Roundesk to quickly pull their public data from within your app to enrich the UX.

Think unwriter's bitpic, but for any public or private profile data.

Imagine your users log in and interact with your app. Those users perhaps see some engagement from [email protected] but they don't really know anything them.

Pre-Roundesk User Experience

Uninspiring User Interaction

Uninspiring User Interaction


The Code

Using javascript, you can now pull a json object from the roundesk API as follows.

// define the function
const getRoundeskProfile = async (paymail) => {
   return (await fetch('https://roundesk.co/api/u/' + paymail)).json()
}

// use the function to get profile data from roundesk
const profile = await getRoundeskProfile('[email protected]')

The API returns an object which looks like this:

{
		"paymail": "[email protected]",
		"name": "Charles Miller",
		"headline": "CoinGeek journalist, film-maker and podcast host",
		"bio": "Would like to connect with entrepreneurs or developers with interesting ideas who would like exposure via CoinGeek.",
		"ent": 0.7,
		"mar": 3,   // These Numbers are max 3 and represent
		"uxd": 0.1  // a self assessed proficiency in 5 areas
                // Entrepreneur, Developer, UX Designer, Marketer, Investor 
}