{"id":20588121,"url":"https://github.com/renbinden/elympics-api","last_synced_at":"2025-07-10T08:35:16.698Z","repository":{"id":149018208,"uuid":"82780320","full_name":"renbinden/elympics-api","owner":"renbinden","description":"Elympics API for Java","archived":false,"fork":false,"pushed_at":"2017-02-22T08:41:20.000Z","size":60,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-04T10:57:47.311Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/renbinden.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-02-22T08:34:06.000Z","updated_at":"2017-02-22T08:35:09.000Z","dependencies_parsed_at":null,"dependency_job_id":"59ec68ef-9c1c-4693-8a97-cae995308042","html_url":"https://github.com/renbinden/elympics-api","commit_stats":null,"previous_names":["renbinden/elympics-api"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/renbinden/elympics-api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/renbinden%2Felympics-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/renbinden%2Felympics-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/renbinden%2Felympics-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/renbinden%2Felympics-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/renbinden","download_url":"https://codeload.github.com/renbinden/elympics-api/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/renbinden%2Felympics-api/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264551675,"owners_count":23626536,"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-11-16T07:21:13.491Z","updated_at":"2025-07-10T08:35:16.678Z","avatar_url":"https://github.com/renbinden.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# elympics-api\n\nThis is a Java API for Dollarone's elympics.\nSee https://dollarone.games/elympics/ to get a key.\n\n## Maven\n```xml\n\u003crepositories\u003e\n    \u003crepository\u003e\n        \u003cid\u003eseventh-root-repo\u003c/id\u003e\n        \u003curl\u003ehttps://repo.seventh-root.com/artifactory/libs-release-local/\u003c/url\u003e\n    \u003c/repository\u003e\n\u003c/repositories\u003e\n\u003cdependencies\u003e\n    \u003cdependency\u003e\n        \u003cgroupId\u003egames.dollarone\u003c/groupId\u003e\n        \u003cartifactId\u003eelympics-api\u003c/artifactId\u003e\n        \u003cversion\u003e1.0.0\u003c/version\u003e\n    \u003c/dependency\u003e\n\u003c/dependencies\u003e\n```\n\n## Gradle\n```groovy\nrepositories {\n    maven { url \"https://repo.seventh-root.com/artifactory/libs-release-local/\" }\n}\ndependencies {\n    compile group: 'games.dollarone', name: 'elympics-api', version: '1.0.0'\n}\n```\n\n## Usage\n```java\nElympics elympics = Elympics.connect(\"xxx\"); // Where xxx is your API key\n\n// Viewing high scores in order\ntry {\n    final List\u003cElympicsHighscore\u003e highscores = elympics.getHighscores();\n    Collections.sort(highscores);\n    for (ElympicsHighscore highscore : highscores) {\n        System.out.println(highscore.getName() + \" - \" + highscore.getScore());\n    }\n} catch (IOException exception) {\n    // Handle failure\n}\n\n// Viewing high scores in reverse order\ntry {\n    final List\u003cElympicsHighscore\u003e highscores = elympics.getHighscores();\n    highscores.sort(Collections.reverseOrder());\n} catch (IOException exception) {\n    // Handle failure\n}\n\n// Submitting a high score\ntry {\n    // With an object with a BigInteger score\n    elympics.submitHighscore(new ElympicsHighscore(\"Name\", BigInteger.valueOf(9001)));\n    \n    // With an object with a primitive score (long, int, etc)\n    elympics.submitHighscore(new ElympicsHighscore(\"Name\", 9001));\n    \n    // No object, BigInteger score\n    elympics.submitHighscore(\"Name\", BigInteger.valueOf(9001));\n    \n    // No object, primitive score (long, int, etc)\n    elympics.submitHighscore(\"Name\", 9001);\n} catch (IOException exception) {\n    // Handle failure\n}\n```\n\nThis work includes modified parts of the GitHub API for Java, Copyright (c) 2011 Kohsuke Kawaguchi and other contributors, licensed under the MIT license. The license may be found at LICENSE-github-api-for-java.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frenbinden%2Felympics-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frenbinden%2Felympics-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frenbinden%2Felympics-api/lists"}