{"id":26652429,"url":"https://github.com/ilotterytea/emotes4j","last_synced_at":"2025-03-25T03:56:56.692Z","repository":{"id":270212808,"uuid":"909655586","full_name":"ilotterytea/emotes4j","owner":"ilotterytea","description":null,"archived":false,"fork":false,"pushed_at":"2024-12-29T11:51:33.000Z","size":0,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-12-29T12:27:40.688Z","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":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ilotterytea.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":"2024-12-29T11:50:49.000Z","updated_at":"2024-12-29T11:51:36.000Z","dependencies_parsed_at":"2024-12-29T12:37:48.327Z","dependency_job_id":null,"html_url":"https://github.com/ilotterytea/emotes4j","commit_stats":null,"previous_names":["ilotterytea/emotes4j"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ilotterytea%2Femotes4j","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ilotterytea%2Femotes4j/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ilotterytea%2Femotes4j/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ilotterytea%2Femotes4j/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ilotterytea","download_url":"https://codeload.github.com/ilotterytea/emotes4j/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245394775,"owners_count":20608124,"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":"2025-03-25T03:56:56.036Z","updated_at":"2025-03-25T03:56:56.609Z","avatar_url":"https://github.com/ilotterytea.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# emotes4j\n\nA Java library for getting global emotes as well as channel emotes. Clients for Event APIs are included!\n\nIt supports [7TV](https://7tv.app) and [BetterTTV](https://betterttv.com) for now.\nIn future there will be more providers.\n\n## Features\n\n- [ ] 7TV EventAPI *(not fully implemented)*\n- [ ] BetterTTV WebSocket *(not fully implemented)*\n- [x] BetterTTV API\n- [ ] 7TV API *(not fully implemented)*\n- [ ] Twitch support\n- [ ] FrankerFaceZ support\n- [ ] Ability to create, update and remove emotes\n\n## Installation guide\n\nThis library can be retrieved from JitPack.\n\n```groovy\ndependencyResolutionManagement {\n    repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)\n    repositories {\n        mavenCentral()\n        maven { url 'https://jitpack.io' }\n    }\n}\n\ndependencies {\n    implementation 'com.github.ilotterytea:emotes4j:0.1.0'\n}\n```\n\n## Examples\n\n### Connecting to 7TV EventAPI\n\n```java\npublic MyApp() throws InterruptedException {\n    SevenTVEventClient stvClient = new SevenTVEventClient();\n    stvClient.getClient().connectBlocking();\n    stvClient.getEventManager().onEvent(EmoteSetUpdateEvent.class, this::handleSTVEmoteSetUpdate);\n\n    BetterTTVEventClient bttvClient = new BetterTTVEventClient();\n    bttvClient.getClient().connectBlocking();\n    bttvClient.getEventManager().onEvent(EmoteUpdateCreate.class, this::handleBTTVEmoteCreate);\n}\n\nprivate void handleSTVEmoteSetUpdate(EmoteSetUpdateEvent event) {\n    // Do something with the event...\n}\n\nprivate void handleBTTVEmoteCreate(EmoteCreateEvent event) {\n    // Do something with the event...\n}\n```\n\n###   \n\n### Dependencies\n\n+ `gson` for JSON deserialization\n+ `java-websocket` for Event API connections\n+ `okhttp` for API calls\n+ `logback` for logging","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Filotterytea%2Femotes4j","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Filotterytea%2Femotes4j","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Filotterytea%2Femotes4j/lists"}