Created
August 25, 2014 07:04
-
-
Save wasim117/41b53b2c75e05f0b227c to your computer and use it in GitHub Desktop.
meetupAPITest
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Meetup Groups by Member ID</title> | |
<script type="text/javascript" src="http://jqueryjs.googlecode.com/files/jquery-1.3.2.min.js"></script> | |
<script type="text/javascript"> | |
$(document).ready(function(){ | |
$.getJSON("https://api.meetup.com/2/groups?callback=?&sign=true&member_id=8377069&page=20&api&key=4d6354b6970177437494d3e6a41414b&only=name,link", | |
function (data) { | |
var htmlString = ""; | |
$.each(data.results, function (i, item) { | |
htmlString += '<h3><a href="' + item.link + '" target="_blank">' + item.name + '</a></h3>'; | |
}); | |
$('#groups').html(htmlString);}); | |
}); | |
</script> | |
</head> | |
<body> | |
<div id="groups"></div> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment