{"version":"1.0","type":"rich","title":"Commplish Badge Awarding API","description":"This example demonstrates how to programmatically award a badge to a user through the Commplish API. It constructs an authentication signature by concatenating the project secret and user email, then hashing them with Python’s `md5` module. The code builds a URL-encoded request using `urllib.urlencode` and sends it via `urllib2.Request` to the `give-badge` endpoint, passing parameters for the user, project, badge, and collection. The response is read and output, completing the badge-awarding workflow.","provider_name":"VizHub AI Studio","provider_url":"https://next.vizhub.com","html":"<iframe src=\"https://next.vizhub.com/viz/gist-1041850?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"1\"></iframe>","width":960,"height":500,"cache_age":3600}