{"id":17102712,"url":"https://github.com/robertd/scorecard","last_synced_at":"2025-03-23T19:23:42.972Z","repository":{"id":2931326,"uuid":"3942752","full_name":"robertd/scorecard","owner":"robertd","description":"Display your Code School courses and badges on your site","archived":false,"fork":false,"pushed_at":"2012-04-05T16:22:53.000Z","size":121,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-22T06:01:58.488Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"CoffeeScript","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/robertd.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2012-04-05T18:29:27.000Z","updated_at":"2017-05-04T06:37:30.000Z","dependencies_parsed_at":"2022-07-19T02:32:07.215Z","dependency_job_id":null,"html_url":"https://github.com/robertd/scorecard","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robertd%2Fscorecard","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robertd%2Fscorecard/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robertd%2Fscorecard/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robertd%2Fscorecard/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/robertd","download_url":"https://codeload.github.com/robertd/scorecard/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245155204,"owners_count":20569668,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-14T15:29:50.558Z","updated_at":"2025-03-23T19:23:42.948Z","avatar_url":"https://github.com/robertd.png","language":"CoffeeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"#Scorecard\n\nScorecard is a jQuery plugin that lets you show off your [Code School](http://www.codeschool.com)'s completed and/or in-progress courses as well as earned badges.\n\n#Demo!\n\nA demo page is available [here](http://dmondark.github.com/scorecard/demo.html).\n\n##Installation\n\n1. Clone/Download `jquery-scorecard.min.js` somewhere in your project.\n2. Include a recent version of jQuery and Scorecard in `\u003chead\u003e`:\n\n```html\n\u003cscript type=\"text/javascript\" src=\"https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js\"\u003e\u003c/script\u003e\n\u003cscript type=\"text/javascript\" src=\"jquery-scorecard.min.js\"\u003e\u003c/script\u003e\n```\n\n##Usage\n\nScorecard will append an unordered list inside the specified element for each\nof the three sections (completed courses, in-progress courses and badges). For\nexample:\n\n```html\n\u003cdiv id=\"my-cs-badges\"\u003e\n  \u003ch2\u003eMy Code School Bages\u003c/h2\u003e\n\u003c/div\u003e\n...\n\u003cscript type=\"text/javascript\"\u003e\n  $('#my-cs-badges').scorecard({\n    username: 'dmondark',\n    sections: ['badges'],\n    loading:\n      message: 'Loading Code School bages...'\n  });\n\u003c/script\u003e\n```\n##Configuration\n\nA hash of options can be passed to scorecards as below:\n\n* `username`: Your code school username (This is required)\n* `sections`: An 1-3 elements array of the sections to be rendered possible\nvalues are: 'completed', 'in-progress' and/or 'badges' (default: All)\n* `newtab`: Whether clicking on a course/badge will open the link in a new tab\n(default: false)\n* `loading.message`: The text displayed while the badges are being loaded\n(default \"Loading...\")\n* `loading.id`: The ID assigned to the \u003cp\u003e element that wraps the loading message\n(default \"load-message\")\n\n##Styling\n\nScorecard tries to be non-intrusive and will not add any classes or ids to the\nmarkup it is generating. Element hierarchy can instead be used to style any of\nthe child elements if needs be.\nFor the example above, to set an opacity of .5 to the badges on hover, a sample\ncss selector would look something like:\n\n```css\n#my-cs-badges \u003e ul \u003e li \u003e a \u003e img:hover{\n  opacity: 0.5;\n}\n```\n\n##Thanks\nMany thanks to the good guys at Code School for the help with the API.\n\nAlso thanks to Mihail Szabolcs ([@theicebreaker](https://twitter.com/theicebreaker))\nfor writing [Proudify](https://github.com/icebreaker/proudify) which was the main\ninspiration behind Scorecard.\n\nThis plugin was jump-started with Zeno Rocha's [jquery-boilerplate](https://github.com/zenorocha/jquery-boilerplate)\n\n##Disclaimer\nThis is my very first CoffeeScript project as well as my first jQuery plugin,\ntherefore there bound to be things that I'm doing wrong and/or obviously missing.\n\nIf you have an idea about a feature or a better and more obvious way to do\nsomething, please help by forking the repo, doing your magic and sending a pull\nrequest (using a feature branch would be superb). Thanks!\n\n\n##License\nCopyright (c) 2012, Ali B. (http://awhitebox.com)\n\nScorecards is provided under the MIT license. For more information see LICENSE.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frobertd%2Fscorecard","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frobertd%2Fscorecard","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frobertd%2Fscorecard/lists"}